googleapis.com

Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.

🔑 oauth2 15 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://secretmanager.googleapis.com/v1beta1/{name}
Accesses a SecretVersion. This call returns the secret data. `projects/*/secr…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://secretmanager.googleapis.com/v1beta1/{name}:access
Lists information about the supported locations for this service.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://secretmanager.googleapis.com/v1beta1/{name}/locations
Endpoints (15 total)
GET
/v1beta1/{name}
Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is …
GET
/v1beta1/{name}:access
Accesses a SecretVersion. This call returns the secret data. `projects/*/secr…
GET
/v1beta1/{name}/locations
Lists information about the supported locations for this service.
GET
/v1beta1/{parent}/secrets
Lists Secrets.
GET
/v1beta1/{parent}/versions
Lists SecretVersions. This call does not return secret data.
GET
/v1beta1/{resource}:getIamPolicy
Gets the access control policy for a secret. Returns empty policy if the secr…
POST
/v1beta1/{name}:enable
Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED.
POST
/v1beta1/{name}:destroy
Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED an…
POST
/v1beta1/{name}:disable
Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED.
POST
/v1beta1/{parent}/secrets
Creates a new Secret containing no SecretVersions.
POST
/v1beta1/{parent}:addVersion
Creates a new SecretVersion containing secret data and attaches it to an exis…
POST
/v1beta1/{resource}:setIamPolicy
Sets the access control policy on the specified secret. Replaces any existing…
At a glance
Total SDKs10
Languages6
Endpoints15
Authoauth2
Categories2
https://secretmanager.googleapis.com