Secrets Store·续

<details>

<summary>

SecretCreateResponse object {id, created, modified, 5 more }

</summary>

id: string

Secret identifier tag.

maxLength32

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created: string

When the secret was created.

formatdate-time

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: string

When the secret was modified.

formatdate-time

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

The name of the secret.

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status: "pending"or "active"or "deleted"

</summary>

One of the following:

"pending"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"active"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"deleted"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

store_id: string

Store Identifier.

maxLength32

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20store_id">Link to this property</a>

comment: optional string

Freeform text describing the secret.

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20comment">Link to this property</a>

<details>

<summary>

scopes: optional array of "workers"or "ai_gateway"or "dex"or 3 more

The list of services that can use this secret, or null when the secret inherits its store’s scopes. Set it to null in a patch to inherit again. An empty list lets no service use the secret.

</summary>

One of the following:

"workers"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"ai_gateway"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"dex"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"access"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"containers"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"websearch"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_create_response%20%3E%20(schema)%20%3E%20(property)%20scopes">Link to this property</a>

</details>

Link to this property

<details>

<summary>

SecretEditResponse object {id, created, modified, 5 more }

</summary>

id: string

Secret identifier tag.

maxLength32

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created: string

When the secret was created.

formatdate-time

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: string

When the secret was modified.

formatdate-time

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

The name of the secret.

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status: "pending"or "active"or "deleted"

</summary>

One of the following:

"pending"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"active"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"deleted"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

store_id: string

Store Identifier.

maxLength32

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20store_id">Link to this property</a>

comment: optional string

Freeform text describing the secret.

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20comment">Link to this property</a>

<details>

<summary>

scopes: optional array of "workers"or "ai_gateway"or "dex"or 3 more

The list of services that can use this secret, or null when the secret inherits its store’s scopes. Set it to null in a patch to inherit again. An empty list lets no service use the secret.

</summary>

One of the following:

"workers"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"ai_gateway"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"dex"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"access"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"containers"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"websearch"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_edit_response%20%3E%20(schema)%20%3E%20(property)%20scopes">Link to this property</a>

</details>

Link to this property

SecretDeleteResponse = unknown

Result is null for delete operations.

Link to this property

SecretBulkDeleteResponse = unknown

Result is null for delete operations.

Link to this property

<details>

<summary>

SecretDuplicateResponse object {id, created, modified, 5 more }

</summary>

id: string

Secret identifier tag.

maxLength32

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created: string

When the secret was created.

formatdate-time

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: string

When the secret was modified.

formatdate-time

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

The name of the secret.

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status: "pending"or "active"or "deleted"

</summary>

One of the following:

"pending"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"active"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"deleted"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

store_id: string

Store Identifier.

maxLength32

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20store_id">Link to this property</a>

comment: optional string

Freeform text describing the secret.

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20comment">Link to this property</a>

<details>

<summary>

scopes: optional array of "workers"or "ai_gateway"or "dex"or 3 more

The list of services that can use this secret, or null when the secret inherits its store’s scopes. Set it to null in a patch to inherit again. An empty list lets no service use the secret.

</summary>

One of the following:

"workers"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"ai_gateway"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"dex"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"access"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"containers"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"websearch"

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20scopes%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20secrets_store.stores.secrets%20%3E%20(model)%20secret_duplicate_response%20%3E%20(schema)%20%3E%20(property)%20scopes">Link to this property</a>

</details>

Link to this property

Secrets StoreQuota

View secret usage

GET/accounts/{account_id}/secrets_store/quota

ModelsExpand Collapse

<details>

<summary>

QuotaGetResponse object {secrets }

</summary>

<details>

<summary>

secrets: object {quota, usage }

</summary>

quota: number

The number of secrets the account is entitled to use.

<a href="#(resource)%20secrets_store.quota%20%3E%20(model)%20quota_get_response%20%3E%20(schema)%20%3E%20(property)%20secrets%20%3E%20(property)%20quota">Link to this property</a>

usage: number

The number of secrets the account is currently using.

<a href="#(resource)%20secrets_store.quota%20%3E%20(model)%20quota_get_response%20%3E%20(schema)%20%3E%20(property)%20secrets%20%3E%20(property)%20usage">Link to this property</a>

</details>

<a href="#(resource)%20secrets_store.quota%20%3E%20(model)%20quota_get_response%20%3E%20(schema)%20%3E%20(property)%20secrets">Link to this property</a>

</details>


description: Review security insights, investigate threats, and protect your brand from impersonation. title: Cloudflare Security Center image: https://developers.cloudflare.com/security-center/og.png?v=e590e55f0a5b9cfd


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/security-center/llms.txt
Use this file to discover all available pages before exploring further.