minio-keygen icon indicating copy to clipboard operation
minio-keygen copied to clipboard

🔑 Simple MinIO access and secret key generator

🔑 MinIO Keygenerator

Go Report Card

This is a simple MinIO Access and Secret Key generator.

Why?

Minio stopped auto-generating these secrets, so I wrote this little tool.

Security

The generator is very simple, any security flaw should be obvious. If you have any concerns, please open an issue.

This generator uses Go's crypto/rand which implements a cryptographically secure random number generator.

Installation

go install github.com/iwittkau/minio-keygen@latest

Usage

$ minio-keygen
MINIO_ROOT_USER=PLEASE-DONT-USE-THIS
MINIO_ROOT_PASSWORD=thisIsOnlyAnExampleYouShouldUseTheActualOutput

You can also create an .env file from the output with:

$ minio-keygen > .env