Skip to content

Commit 14dc6f7

Browse files
committed
docs: Added secrets/tune command to the example to expand MaxTTL for the mount
1 parent dc57f1c commit 14dc6f7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ The command bellow will set up the config backend with a max TTL of 48h.
6262
$ vault write gitlab/config max_ttl=48h base_url=https://gitlab.example.com token=gitlab-super-secret-token
6363
```
6464

65+
You may also need to configure the Max TTL for a token that can be issued by setting:
66+
67+
```shell
68+
$ vault secrets tune -max-lease-ttl=8784h gitlab/
69+
```
70+
71+
Check https://developer.hashicorp.com/vault/docs/commands/secrets/tune for more information.
72+
6573
### Roles
6674

6775
This will create three roles, one of each type.

0 commit comments

Comments
 (0)