Skip to main content

Methods

List secrets associated with a user filtered with optional parameters passed in the body.

Parameters

typing.Optional[int]
Number of items per page
typing.Optional[int]
Number of items to skip
typing.Optional[typing.Sequence[str]]
Array of FQNs
typing.Optional[str]
Secret Group Id of the secret gourp.
typing.Optional[bool]
Whether to include the secret values in the response. Defaults to false.

Returns

SyncPager[Secret, ListSecretsResponse]
🔗 ListSecretsResponseReturns the secrets associated with a user filtered with optional parameters passed in the body.

Usage

Get Secret associated with provided id. The secret value is not returned if the control plane has DISABLE_SECRET_VALUE_VIEW set

Parameters

str
required
Secret Id of the secret.

Returns

GetSecretResponse
🔗 GetSecretResponseReturns the Secret associated with provided id

Usage

Deletes a secret and its versions along with its values.

Parameters

str
required
Secret Id of the secret.
typing.Optional[bool]
Whether to force delete the secret.

Returns

float
Deletes a secret and its versions along with its values and returns the count of the deleted secrets.

Usage