Skip to main content
Google Cloud’s Secret Manager stores private keys, passwords, certificates, and other sensitive data. Several functions in require access to these resources.

Creating secrets in GCP Secret Manager

  1. Navigate to the Secret Manager page in the Google Cloud console.
  2. On the Secret Manager page, click Create Secret.
  3. On the Create secret page, enter the following:
    • Name: Give your secret a Name to identify it. The secret name will be used by to locate and use the correct key.
    • Secret Value: Either upload the value or enter the secret value in JSON format.
    • Region: Choose specific regions for storing your secret. Select specific regions manually or leave blank.
  4. Click Create secret.
Once created, you can view your secret by clicking View secret value.

Permissions

Your will require the following GCP Secret Manager permission: roles/secretmanager.secretAccessor. To learn more, read IAM Permissions.