# Secret Manager API API

> Secret Manager API API on Apizie: 17 endpoints (Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the most recently…, Updates metadata of an existing Secret., Deletes a Secret., Lists information about the supported locations for this service. This method lists locations based on the…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/analytics:googleapis-secretmanager/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-secretmanager`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/secret-manager/
- Page: https://www.apizie.tech/api/analytics/googleapis-secretmanager
- OpenAPI: https://www.apizie.tech/api/analytics/googleapis-secretmanager/openapi.json

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

## Endpoints

### Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the most recently…
`GET https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or… |

### Updates metadata of an existing Secret.
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Output only. The resource name of the Secret in the format `projects/*/secrets/*`. |
| updateMask | string | no | Required. Specifies the fields to be updated. |
| body | object | yes | JSON request body |

### Deletes a Secret.
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| etag | string | no | Optional. Etag of the Secret. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted,… |
| name | string | yes | Required. The resource name of the Secret to delete in the format `projects/*/secrets/*`. |

### Lists information about the supported locations for this service. This method lists locations based on the…
`GET https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-locations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| extraLocationTypes | string | no | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter | string | no | A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is… |
| name | string | yes | The resource that owns the locations collection, if applicable. |
| pageSize | integer | no | The maximum number of results to return. If not set, the service selects a default. |
| pageToken | string | no | A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. |

### Creates a new SecretVersion containing secret data and attaches it to an existing Secret.
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-add-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or… |
| body | object | yes | JSON request body |

### Lists Secrets.
`GET https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List… |
| pageSize | integer | no | Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return.… |
| pageToken | string | no | Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token. |
| parent | string | yes | Required. The resource name of the project associated with the Secrets, in the format `projects/*` or `projects/*/locations/*` |

### Creates a new Secret containing no SecretVersions.
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The resource name of the project to associate with the Secret, in the format `projects/*` or `projects/*/locations/*`. |
| secretId | string | no | Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain… |
| body | object | yes | JSON request body |

### Enables the managed rotation feature for a Secret. This method can only be triggered once for a secret. In…
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-enable-managed-rotation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or… |
| body | object | yes | JSON request body |

### Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a…
`GET https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-get-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| options.requestedPolicyVersion | integer | no | Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid… |
| resource | string | yes | REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |

### Do a managed rotation for a Secret. This can only be triggered after Managed rotation has been enabled. This…
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-rotate-secret` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or… |
| body | object | yes | JSON request body |

### Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on…
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-set-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Returns permissions that a caller has for the specified secret. If the secret does not exist, this call…
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-test-iam-permissions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy detail is being requested. See [Resource… |
| body | object | yes | JSON request body |

### Accesses a SecretVersion. This call returns the secret data. `projects/*/secrets/*/versions/latest` is an…
`GET https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-access` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or… |

### Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED and irrevocably destroys the…
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-destroy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or… |
| body | object | yes | JSON request body |

### Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED.
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-disable` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the SecretVersion to disable in the format `projects/*/secrets/*/versions/*` or… |
| body | object | yes | JSON request body |

### Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED.
`POST https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-enable` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or… |
| body | object | yes | JSON request body |

### Lists SecretVersions. This call does not return secret data.
`GET https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List… |
| pageSize | integer | no | Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return.… |
| pageToken | string | no | Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][]. |
| parent | string | yes | Required. The resource name of the Secret associated with the SecretVersions to list, in the format `projects/*/secrets/*` or… |

## Example
```
curl "https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-get" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Secret Manager API API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/analytics:googleapis-secretmanager/secretmanager-projects-secrets-versions-get with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Secret Manager API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Secret Manager API itself also needs your own key from googleapis.com.

### Can AI agents use the Secret Manager API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-secretmanager.

### What is the status of the Secret Manager API API?
Needs your own provider key (bring your own key)
