Reputation: 1312
I have started a Google Cloud Account and I want to access and use Google Secret Manager. How can I create a Secret using Google Secret Manager API using gcloud command line interface ?
Upvotes: 1
Views: 840
Reputation: 837
You can see it here https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#secretmanager-create-secret-cli
gcloud secrets create secret-id \
--replication-policy="automatic"
Upvotes: 3