QuestionQ38

VerifiedBuilding and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads

Application artifacts are built and deployed through a CI/CD pipeline. You need the CI/CD pipeline to securely access application secrets, and you also want to rotate those secrets more easily if a security breach occurs. What should you do?

Explanation

Cloud Storage can hold secrets outside the source repository, Cloud KMS protects the stored data through encryption, and IAM can grant the CI/CD pipeline only the access it requires. This centralizes secret access and supports revoking access or replacing protected secret material after a compromise. Google Cloud recommends Secret Manager for purpose-built secret storage and rotation; among the listed choices, Cloud Storage protected with Cloud KMS and IAM is the appropriate secure design.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!