Secrets Store

Secrets StoreStores

List account stores

GET/accounts/{account_id}/secrets_store/stores

Get a store by ID

GET/accounts/{account_id}/secrets_store/stores/{store_id}

Create a store

POST/accounts/{account_id}/secrets_store/stores

Delete a store

DELETE/accounts/{account_id}/secrets_store/stores/{store_id}

ModelsExpand Collapse

<details>

<summary>

StoreListResponse object {id, created, modified, 2 more }

</summary>

id: string

Store Identifier.

maxLength32

<a href="#(resource)%20secrets_store.stores%20%3E%20(model)%20store_list_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%20%3E%20(model)%20store_list_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%20%3E%20(model)%20store_list_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

The name of the store.

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

account_id: optional string

Account Identifier.

maxLength32

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

</details>

Link to this property

<details>

<summary>

StoreGetResponse object {id, created, modified, 2 more }

</summary>

id: string

Store Identifier.

maxLength32

<a href="#(resource)%20secrets_store.stores%20%3E%20(model)%20store_get_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%20%3E%20(model)%20store_get_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%20%3E%20(model)%20store_get_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

The name of the store.

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

account_id: optional string

Account Identifier.

maxLength32

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

</details>

Link to this property

<details>

<summary>

StoreCreateResponse object {id, created, modified, 2 more }

</summary>

id: string

Store Identifier.

maxLength32

<a href="#(resource)%20secrets_store.stores%20%3E%20(model)%20store_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%20%3E%20(model)%20store_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%20%3E%20(model)%20store_create_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

The name of the store.

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

account_id: optional string

Account Identifier.

maxLength32

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

</details>

Link to this property

StoreDeleteResponse = unknown

Result is null for delete operations.

Link to this property

Secrets StoreStoresSecrets

List store secrets

GET/accounts/{account_id}/secrets_store/stores/{store_id}/secrets

Get a secret by ID

GET/accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}

Create a secret

POST/accounts/{account_id}/secrets_store/stores/{store_id}/secrets

Patch a secret

PATCH/accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}

Delete a secret

DELETE/accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}

Delete secrets

DELETE/accounts/{account_id}/secrets_store/stores/{store_id}/secrets

Duplicate Secret

POST/accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}/duplicate

ModelsExpand Collapse

<details>

<summary>

SecretListResponse 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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_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_list_response%20%3E%20(schema)%20%3E%20(property)%20scopes">Link to this property</a>

</details>

Link to this property

<details>

<summary>

SecretGetResponse 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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_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_get_response%20%3E%20(schema)%20%3E%20(property)%20scopes">Link to this property</a>

</details>

Link to this property