Skip to content

Commit bf797c5

Browse files
authored
Update revoke.mdx (#1264)
I found it is supported to force revoke an irrevocable Vault lease by providing lease id.
1 parent 72a6749 commit bf797c5

File tree

1 file changed

+9
-0
lines changed
  • content/vault/v1.21.x/content/docs/commands/lease

1 file changed

+9
-0
lines changed

content/vault/v1.21.x/content/docs/commands/lease/revoke.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ $ vault lease revoke -prefix database/creds
2727
Success! Revoked any leases with prefix: database/creds
2828
```
2929

30+
Force revoke an irrevocable lease which starts with a prefix plus lease ID:
31+
32+
```shell-session
33+
$ vault lease revoke -force -prefix database/creds/test-role/9Y5YA7vmRs2uESbSOInm0BpC
34+
Warning! Force-removing leases can cause Vault to become out of sync with
35+
secret engines!
36+
Success! Force revoked any leases with prefix: database/creds/test-role/9Y5YA7vmRs2uESbSOInm0BpC```
37+
```
38+
3039
## Usage
3140

3241
The following flags are available in addition to the [standard set of

0 commit comments

Comments
 (0)