Valid Professional-Cloud-DevOps-Engineer Dumps shared by EduDump.com for Helping Passing Professional-Cloud-DevOps-Engineer Exam! EduDump.com now offer the newest Professional-Cloud-DevOps-Engineer exam dumps, the EduDump.com Professional-Cloud-DevOps-Engineer exam questions have been updated and answers have been corrected get the newest EduDump.com Professional-Cloud-DevOps-Engineer dumps with Test Engine here:
You are building an application that runs on Cloud Run The application needs to access a third-party API by using an API key You need to determine a secure way to store and use the API key in your application by following Google-recommended practices What should you do?
Correct Answer: A
Explanation The best option for storing and using the API key in your application by following Google-recommended practices is to save the API key in Secret Manager as a secret and reference the secret as an environment variable in the Cloud Run application. Secret Manager is a service that allows you to store and manage sensitive data, such as API keys, passwords, and certificates, in Google Cloud. A secret is a resource that represents a logical secret, such as an API key. You can save the API key in Secret Manager as a secret and use IAM policies to control who can access it. You can also reference the secret as an environment variable in the Cloud Run application by using the ${SECRET_NAME} syntax. This way, you can securely store and use the API key in your application without exposing it in your code or configuration files.