0
0
GCPcloud~5 mins

Secret Manager for credentials in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main purpose of Secret Manager in Google Cloud?
Secret Manager securely stores sensitive information like passwords, API keys, and certificates, keeping them safe and easy to manage.
Click to reveal answer
beginner
How does Secret Manager help avoid hardcoding credentials in your application?
It allows your app to fetch secrets at runtime securely, so credentials are not stored directly in code or configuration files.
Click to reveal answer
intermediate
What is a 'secret version' in Secret Manager?
A secret version is a specific copy of the secret data. You can have multiple versions to update or roll back secrets safely.
Click to reveal answer
intermediate
Which Google Cloud IAM role is needed to access secrets in Secret Manager?
The role 'Secret Manager Secret Accessor' allows users or services to read secret data securely.
Click to reveal answer
intermediate
How does Secret Manager ensure your secrets remain secure during access?
It uses encryption at rest and in transit, and access is controlled by IAM policies to restrict who can view or manage secrets.
Click to reveal answer
What is the best way to store API keys securely in Google Cloud?
AUse Secret Manager to store and access API keys
BHardcode API keys in application source code
CStore API keys in a public Cloud Storage bucket
DEmail API keys to team members
What does a secret version allow you to do?
AAutomatically delete secrets after use
BStore secrets in different Google Cloud projects
CShare secrets publicly
DKeep multiple copies of a secret for updates and rollback
Which IAM role lets a service read secrets from Secret Manager?
ANetwork Admin
BSecret Manager Secret Accessor
CCompute Admin
DStorage Object Viewer
How does Secret Manager protect secrets during storage?
ARequires manual encryption by users
BStores secrets in plain text
CEncrypts secrets at rest and in transit
DOnly encrypts secrets when accessed
Why should you avoid hardcoding credentials in your app?
AIt risks exposing secrets if code is shared or leaked
BIt makes the app run slower
CIt increases cloud costs
DIt prevents the app from connecting to the internet
Explain how Secret Manager helps keep your application credentials safe and easy to manage.
Think about how you would keep your house keys safe but accessible only to trusted people.
You got /4 concepts.
    Describe the role of IAM in controlling access to secrets stored in Secret Manager.
    Imagine giving different keys to different family members for different rooms.
    You got /4 concepts.