Browse Source

added pwgen command

Toastie 1 year ago
parent
commit
7c1097c3b5
1 changed files with 15 additions and 1 deletions
  1. 15 1
      KEY-GENERATION.md

+ 15 - 1
KEY-GENERATION.md

@@ -1,2 +1,16 @@
+# Key generation
+MinIO will require access and secret keys. To generate a set of random keys to choose from, run:
+
+`docker run -it --rm alpine sh -c 'apk add pwgen && pwgen --secure --capitalize --numerals --ambiguous 30'`
+
+- `--capitalize` Include at least one capital letter in the password
+- `--numerals` Include at least one number in the password
+- `--symbols` Include at least one special symbol in the password
+- `--secure` Generate completely random passwords
+- `--ambiguous` Don't include ambiguous characters in the password
+- `30` password length
+
+Reference:
+[Discussion about key best practices](https://github.com/minio/minio/discussions/15296)
+
 
-`docker run -it --rm alpine sh -c 'apk add pwgen && pwgen --secure --capitalize --numerals --ambiguous 30'`