Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
To ensure secure access to application secrets and facilitate their rotation in case of a security breach, leveraging a CI/CD pipeline for building and deploying application artifacts is recommended. What is the optimal method to achieve this?
A
Encrypt secrets and store them in the source code repository. Keep the decryption key in a separate repository and provide your pipeline access to it.
B
Place secrets in a distinct configuration file in Git. Grant certain developers access to the configuration file.
C
Request secrets from developers during the build process. Advise developers not to store secrets when idle.
D
Store secrets in Cloud Storage encrypted with a key from Cloud KMS. Grant the CI/CD pipeline access to Cloud KMS through IAM.