#
Create a secret in GCP
This tutorial explains how we can create a secret in GCP.
In order to create a secret from the GCP Console, we need to go to "Security" -> "Secret Manager":
You will see the following page:
Click on "CREATE SECRET".
Enter the secret name and the secret value.
Specify the Replication policy and how the encryption is manged.
Info
- By default, Google automatically manages where this secret is stored.
- This secret is encrypted with a Google-managed key by default.
Enter information regarding the rotation, the notifications and expiration policy of the secret.
You can add labels and annotations to your secret. Click on "CREATE SECRET" and the secret will be created: