From 453b633268eaf10041d557b10c5e30505f028603 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 26 Jan 2022 19:31:44 +0100 Subject: [PATCH] Update guide --- op_guide/backup_minio/README.md | 62 +++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/op_guide/backup_minio/README.md b/op_guide/backup_minio/README.md index 9e1fb62..7084498 100644 --- a/op_guide/backup_minio/README.md +++ b/op_guide/backup_minio/README.md @@ -6,7 +6,7 @@ You need to choose some names/identifiers: export BUCKET_NAME=example export NEW_ACCESS_KEY_ID=hello -export NEW_SECRET_ACCESS_KEY=$(openssl rand -base64 60) +export NEW_SECRET_ACCESS_KEY=$(openssl rand -base64 32) export POLICY_NAME="policy-$BUCKET_NAME" ``` @@ -22,7 +22,7 @@ Create a new user: mc admin user add deuxfleurs $NEW_ACCESS_KEY_ID $NEW_SECRET_ACCESS_KEY ``` -Add this new user to your `~/.mc/config.json` file +Add this new user to your `~/.mc/config.json` file, as `backup-user` for example. --- @@ -53,6 +53,7 @@ cat > /tmp/policy.json <