Quantcast
Channel: User Nathan Basanese - Stack Overflow
Viewing all articles
Browse latest Browse all 64

In the HashiCorp Vault docs, "Lease IDs" are mentioned several times. How do I find one?

$
0
0

In the Vault Web UI, under "Access", it shows the ability to look up leases by "Lease ID": If you know the id of a lease, enter it above to lookup details of the lease.

How do I get "the id of a lease" in the first place?

In the Vault CLI, it looks like my only options for leases are renew and revoke:

~ |  👾 vault lease lookup
Usage: vault lease <subcommand> [options] [args]

  This command groups subcommands for interacting with leases. Users can revoke
  or renew leases.

  Renew a lease:

      $ vault lease renew database/creds/readonly/2f6a614c...

  Revoke a lease:

      $ vault lease revoke database/creds/readonly/2f6a614c...

Subcommands:
    renew     Renews the lease of a secret
    revoke    Revokes leases and secrets

If I just need to get a lease id, how would I do that from the CLI?


Viewing all articles
Browse latest Browse all 64

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>