From 61578013618606d09bc9268c61cd1f4ee49a3674 Mon Sep 17 00:00:00 2001 From: catsby Date: Mon, 29 Mar 2021 15:07:42 -0500 Subject: [PATCH] remove lease lookup references --- website/content/docs/commands/lease.mdx | 15 -------- website/content/docs/commands/lease/index.mdx | 15 -------- .../content/docs/commands/lease/lookup.mdx | 35 ------------------- 3 files changed, 65 deletions(-) delete mode 100644 website/content/docs/commands/lease/lookup.mdx diff --git a/website/content/docs/commands/lease.mdx b/website/content/docs/commands/lease.mdx index f76e197e8f700..a67671daafe27 100644 --- a/website/content/docs/commands/lease.mdx +++ b/website/content/docs/commands/lease.mdx @@ -14,20 +14,6 @@ secrets. For leases attached to tokens, use the [`vault token`](/docs/commands/t ## Examples -Lookup a lease: - -```shell-session -$ vault lease lookup database/creds/readonly/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83 -Key Value ---- ----- -expire_time 2021-03-17T11:55:50.755313-05:00 -id database/creds/readonly/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83 -issue_time 2021-03-17T11:45:50.755312-05:00 -last_renewal -renewable true -ttl 9m52s -``` - Renew a lease: ```shell-session @@ -54,7 +40,6 @@ Usage: vault lease [options] [args] # ... Subcommands: - lookup Lookup lease information by lease id renew Renews the lease of a secret revoke Revokes leases and secrets ``` diff --git a/website/content/docs/commands/lease/index.mdx b/website/content/docs/commands/lease/index.mdx index f76e197e8f700..a67671daafe27 100644 --- a/website/content/docs/commands/lease/index.mdx +++ b/website/content/docs/commands/lease/index.mdx @@ -14,20 +14,6 @@ secrets. For leases attached to tokens, use the [`vault token`](/docs/commands/t ## Examples -Lookup a lease: - -```shell-session -$ vault lease lookup database/creds/readonly/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83 -Key Value ---- ----- -expire_time 2021-03-17T11:55:50.755313-05:00 -id database/creds/readonly/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83 -issue_time 2021-03-17T11:45:50.755312-05:00 -last_renewal -renewable true -ttl 9m52s -``` - Renew a lease: ```shell-session @@ -54,7 +40,6 @@ Usage: vault lease [options] [args] # ... Subcommands: - lookup Lookup lease information by lease id renew Renews the lease of a secret revoke Revokes leases and secrets ``` diff --git a/website/content/docs/commands/lease/lookup.mdx b/website/content/docs/commands/lease/lookup.mdx deleted file mode 100644 index 62f16cbaae125..0000000000000 --- a/website/content/docs/commands/lease/lookup.mdx +++ /dev/null @@ -1,35 +0,0 @@ ---- -layout: docs -page_title: lease lookup - Command -sidebar_title: lookup -description: |- - The "lease lookup" command retrieves information about a lease. ---- - -# lease lookup - -The `lease lookup` command retrieves information on the lease of a secret. - -Every secret in Vault has a lease associated with it. Users can look up -information on the lease by referencing the lease ID. - -## Examples - -Lookup a lease: - -```shell-session -$ vault lease lookup database/creds/readonly/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83 -Key Value ---- ----- -expire_time 2021-03-17T11:55:50.755313-05:00 -id database/creds/readonly/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83 -issue_time 2021-03-17T11:45:50.755312-05:00 -last_renewal -renewable true -ttl 9m52s -``` - -## Usage - -There are no flags beyond the [standard set of flags](/docs/commands) -included on all commands.