ExamGecko
Question list
Search
Search

Question 36 - Vault Associate 002 discussion

Report
Export

Which of the following vault lease operations uses a lease _ id as an argument? Choose two correct answers.

A.
renew
Answers
A.
renew
B.
revoke -prefix
Answers
B.
revoke -prefix
C.
create
Answers
C.
create
D.
describe
Answers
D.
describe
E.
revoke
Answers
E.
revoke
Suggested answer: A, E

Explanation:

The vault lease operations that use a lease_id as an argument are renew and revoke. The renew operation allows a client to extend the validity of a lease associated with a secret or a token. The revoke operation allows a client to terminate a lease immediately and invalidate the secret or the token. Both operations require a lease_id as an argument to identify the lease to be renewed or revoked. The lease_id can be obtained from the response of reading a secret or creating a token, or from the vault lease list command. The other operations, revoke-prefix, create, and describe, do not use a lease_id as an argument. The revoke-prefix operation allows a client to revoke all secrets or tokens generated under a given prefix. The create operation allows a client to create a new lease for a secret. The describe operation allows a client to view information about a lease, such as its TTL, policies, and metadata.Reference:Lease, Renew, and Revoke | Vault | HashiCorp Developer,vault lease - Command | Vault | HashiCorp Developer

asked 18/09/2024
piera d'addelfio
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first