Exam Vault Associate 002 All QuestionsBrowse all questions from this exam
Question 54

An organization would like to use a scheduler to track & revoke access granted to a job (by Vault) at completion.

What auth-associated Vault object should be tracked to enable this behavior?

    Correct Answer: C

    In Vault, tracking and revoking access at the completion of a job typically involves the lease associated with the generated credentials or secrets. The Lease ID allows for the management and revocation of these leases, ensuring that access can be effectively revoked once the job is complete.

Discussion
aguedaOption: A

By the phrasing of the question, I understand that the job is granted access to Vault to read secrets, so the job has a token to access Vault. And the question is "What auth-associated Vault object...?", and Lease ID is not an auth-associated Vault object. So answer is A, you need the Token Accessor to revoke a token

aj2023Option: C

If you want to track and revoke access granted to a job by Vault at the completion of the job, you should track the Lease ID.

daz_rekkaOption: A

Described here https://developer.hashicorp.com/vault/docs/concepts/tokens#token-accessors