london_utku
london_utku

Reputation: 1312

How to enable Google Cloud Secrets Manager using gcloud command line interface?

I have started a Google Cloud Account and I want to access and use Google Secret Manager. How can I enable Google Secret Manager API using gloud command line interface ?

Upvotes: 2

Views: 1838

Answers (1)

Bartosz Pelikan
Bartosz Pelikan

Reputation: 1055

  1. Find the service name by using gcloud services list --available

    gcloud services list --available | grep Secret 
    
  2. Enable API using gcloud services enable:

    gcloud services enable secretmanager.googleapis.com
    

Upvotes: 8

Related Questions