From d0015b4d6635fe1c62718a981f86ab9d472942d3 Mon Sep 17 00:00:00 2001 From: poornas Date: Tue, 29 Jan 2019 08:04:07 -0800 Subject: [PATCH] update kms docs example to set a longer period for token renewal (#7149) --- docs/kms/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/kms/README.md b/docs/kms/README.md index f6d421c9a..16a8029a4 100644 --- a/docs/kms/README.md +++ b/docs/kms/README.md @@ -71,7 +71,7 @@ vault auth enable approle # enable approle style auth vault secrets enable transit # enable transit secrets engine vault write -f transit/keys/my-minio-key #define a encryption key-ring for the transit path vault policy write minio-policy ./vaultpolicy.hcl #define a policy for AppRole to access transit path -vault write auth/approle/role/my-role token_num_uses=0 secret_id_num_uses=0 period=60s # period indicates it is renewable if token is renewed before the period is over +vault write auth/approle/role/my-role token_num_uses=0 secret_id_num_uses=0 period=5m # period indicates it is renewable if token is renewed before the period is over # define an AppRole vault write auth/approle/role/my-role policies=minio-policy # apply policy to role vault read auth/approle/role/my-role/role-id # get Approle ID