Set a Secret

Create or replace a secret in the secret store.

post/v1/apps/secrets

Response

Successful response.

createdinteger required

Time at which the object was created. Measured in seconds since the Unix epoch.

deletedboolean

If true, indicates that this secret has been deleted

expires_atinteger nullable

The Unix timestamp for the expiry time of the secret, after which the secret deletes.

idstring required

Unique identifier for the object.

livemodeboolean required

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

namestring required

A name for the secret that's unique within the scope.

object'apps.secret' required

String representing the object's type. Objects of the same type share the same value.

payloadstring nullable

The plaintext secret value to be stored.

Changes