To minimize the risk of unauthorized access or misuse of secrets, configure a rotation period (or rotation schedule) for your Secret Manager secrets. Setting this schedule will automatically send rotation notifications to the associated Pub/Sub topics.
This rule resolution is part of the Conformity Security & Compliance tool for GCP.
excellence
Secret rotation is the process of regularly updating sensitive information like passwords, API keys, and encryption keys. This practice is essential for minimizing the risk of unauthorized access or misuse, especially if a secret is ever compromised. Secret Manager simplifies this process by allowing you to schedule periodic rotations. It works by sending notifications to the Pub/Sub topics linked to your secrets, based on the rotation frequency and time you specify.
Audit
To determine if rotation schedules are configured for your Secret Manager secrets, perform the following operations:
Remediation / Resolution
To ensure that rotation schedules are configured for your Google Cloud Secret Manager secrets, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- List secrets and view secret details
- About rotation schedules
- Create rotation schedules in Secret Manager
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud secrets list
- gcloud secrets describe
- gcloud pubsub topics create
- gcloud pubsub subscriptions create
- gcloud pubsub topics add-iam-policy-binding
- gcloud secrets update