CLOUD-DIGITAL-LEADER · Question #57
Your Google Cloud Platform [GCP] admin has to manage a bunch of API keys for external services that are accessed by different applications, which are used by a few teams. What is the best way to…
The correct answer is B. Store the information in Secret Manager and give IAM read permissions as re-quired. Google Cloud Secret Manager is the purpose-built service for storing, managing, and accessing sensitive data such as API keys, passwords, and credentials. It integrates natively with IAM, allowing granular, audited read access per service account or user without exposing the…
Question
Your Google Cloud Platform [GCP] admin has to manage a bunch of API keys for external services that are accessed by different applications, which are used by a few teams. What is the best way to manage them?
Options
- AShare the information in a Github repository and grant access to the repo in IAM as required.
- BStore the information in Secret Manager and give IAM read permissions as re-quired.
- CStore the information in Kubernetes Secrets and only grant read permissions to users as
- DEncrypt the information and store it in Cloud Storage for centralized access. Give the decrypt key
How the community answered
(22 responses)- A14% (3)
- B73% (16)
- C5% (1)
- D9% (2)
Explanation
Google Cloud Secret Manager is the purpose-built service for storing, managing, and accessing sensitive data such as API keys, passwords, and credentials. It integrates natively with IAM, allowing granular, audited read access per service account or user without exposing the secret value. Option A (GitHub) is insecure for secrets even with IAM-gated access-secrets in repos risk accidental exposure and lack rotation/audit features. Option C (Kubernetes Secrets) are not centralized and are only practical within a Kubernetes cluster context. Option D (Cloud Storage + encryption) adds operational complexity by requiring separate key management and lacks the native versioning, rotation, and audit logging that Secret Manager provides.
Topics
Community Discussion
No community discussion yet for this question.