From 0c6ba1a7b762269c2bcbe3ba5a6f071413ac99dc Mon Sep 17 00:00:00 2001 From: ekow Date: Mon, 28 Oct 2019 12:53:12 -0700 Subject: [PATCH] Update lease concept to use correct command (#7730) Updated command to reflect on the one that executes successfully on Vault v1.2.3 with server running in dev mode. --- website/source/docs/concepts/lease.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/concepts/lease.html.md b/website/source/docs/concepts/lease.html.md index f1bd019f29..658e4d32f8 100644 --- a/website/source/docs/concepts/lease.html.md +++ b/website/source/docs/concepts/lease.html.md @@ -55,7 +55,7 @@ consumer of this secret must renew the lease within that time. When renewing the lease, the user can request a specific amount of time they want remaining on the lease, termed the `increment`. This is not an increment at the end of the current TTL; it is an increment _from the current time_. For -example, `vault renew my-lease-id 3600` would request that the TTL of the lease +example, `vault lease renew -increment=3600 my-lease-id` would request that the TTL of the lease be adjusted to 1 hour (3600 seconds). Having the increment be rooted at the current time instead of the end of the lease makes it easy for users to reduce the length of leases if they don't actually need credentials for the full