Creating secrets in Google Cloud Secret Manager
- Navigate to the Secret Manager page in the Google Cloud console.
- On the Secret Manager page, click Create Secret.
- 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.
- Click Create secret.
Permissions
Your will require the following Google Cloud Secret Manager permission:roles/secretmanager.secretAccessor.