D1: Short-Lived Credentials & Impersonation
Google Cloud Professional Cloud Security Engineer exam practice questions · 10 flashcards
Question
What are short-lived credentials?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Short-Lived Credentials & Impersonation practice questions and answers
- What are short-lived credentials?OAuth access tokens, ID tokens or signed JWTs/blobs issued for limited time.
- Which API issues them?IAM Service Account Credentials API.
- Which role is needed?Service Account Token Creator.
- Default access token lifetime?1 hour (up to 12 hours if allowed by org policy).
- How to impersonate with gcloud?--impersonate-service-account or auth/impersonate_service_account config.
- Why prefer impersonation?No keys; IAM-controlled and audited.
- What is delegation chaining?Impersonating through multiple service accounts.
- How is impersonation audited?Audit logs record caller and impersonated SA.
- Use case for ID tokens?Calling Cloud Run, IAP-protected apps or other OIDC-verifying services.
- Use case for signBlob?Signing Cloud Storage signed URLs without a key.