September 24, 2023

While working with the infrastructure, on the daily basis I need to generate some random passwords for various services and users.

Of course you can use some shell scripting magic with /dev/urandom but I find it hard to memorize. On the other hand I have a one-liner, that’s (relatively) easy to memorize:

openssl rand -hex 36

The command will generate 36 cryptographically secure pseudo random bytes and encode it using hex representation.

You can also use base64, if you wish:

openssl rand -base64 36

That’s the case for the terminal, but how about generating passwords in Kubernetes-native way? That’s the topic of my next post, stay tuned 🙂

Subscribe to my mailing list to get updated about new blog posts!

You may also find these posts interesting:

Get the X509 (TLS) certificate fingerprint

One of the most common operation I perform on X509 (used e.g.

About the author - Łukasz Tomaszkiewicz

My name is Łukasz Tomaszkiewicz and I help developers and devops engineers to accelerate their career in public cloud.

For many years I've supported developer teams in delivering cloud based solutions - from design phase, through automation of deployment to monitoring and optimization as well as day-to-day operations.

In my professional life I'm mainly focused on AWS infrastructure, however - after hours - I like doing my own side projects as it helps me understanding the issues developers may have while using the cloud.

  • Basic strategy’s all about minimizing the house edge, right? Seeing platforms like ph889 vip emphasize RNG & RTP is good – transparency matters. Quick registration is a plus too, less time waiting, more time playing! 😉

  • Basic strategy’s all about minimizing the house edge, right? Seeing platforms like ph889 vip emphasize RNG & RTP is good – transparency matters. Quick registration is a plus too, less time waiting, more time playing! 😉

  • Id888app? Yeah, not gonna lie, it’s pretty solid. Quick payouts, decent selection of games. I like that it’s easy to use on my phone. Give it a try if you’re lookin’ for something new id888app.

  • Id888app? Yeah, not gonna lie, it’s pretty solid. Quick payouts, decent selection of games. I like that it’s easy to use on my phone. Give it a try if you’re lookin’ for something new id888app.

  • Id888app? Yeah, not gonna lie, it’s pretty solid. Quick payouts, decent selection of games. I like that it’s easy to use on my phone. Give it a try if you’re lookin’ for something new id888app.

  • I have been using 755betapp on my phone and tablet and its pretty good. Got some issues at first with the download not working correctly but the support team was good and walked me through how to download the right version. Give 755betapp a shot.

  • I have been using 755betapp on my phone and tablet and its pretty good. Got some issues at first with the download not working correctly but the support team was good and walked me through how to download the right version. Give 755betapp a shot.

  • I have been using 755betapp on my phone and tablet and its pretty good. Got some issues at first with the download not working correctly but the support team was good and walked me through how to download the right version. Give 755betapp a shot.

  • {"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
    >