Skip to content

Commit

Permalink
docs: Added secrets/tune command to the example to expand MaxTTL for …
Browse files Browse the repository at this point in the history
…the mount
  • Loading branch information
ilijamt committed Oct 31, 2023
1 parent dc57f1c commit 14dc6f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ The command bellow will set up the config backend with a max TTL of 48h.
$ vault write gitlab/config max_ttl=48h base_url=https://gitlab.example.com token=gitlab-super-secret-token
```

You may also need to configure the Max TTL for a token that can be issued by setting:

```shell
$ vault secrets tune -max-lease-ttl=8784h gitlab/
```

Check https://developer.hashicorp.com/vault/docs/commands/secrets/tune for more information.

### Roles

This will create three roles, one of each type.
Expand Down

0 comments on commit 14dc6f7

Please sign in to comment.