Question 370
A platform engineer is authorized to impersonate a least-privilege deployment service account. They want a single gcloud deployment command to use that identity without switching permanently to a service account key file. Which CLI approach fits?
Explanation
Correct Answer
gcloud can mint temporary credentials for the specified identity for that invocation without persistent exported keys.
Incorrect Answers
That distributes a reusable credential and defeats keyless impersonation.
Project context does not select the caller identity.
A Cloud Billing label is financial reporting metadata and does not instruct gcloud to mint credentials for a target service account.