Skip to content

Properties

configRecord<string, any>

Non-secret settings; the fields per provider are listed by GET /key-store-provider. For aws_secrets_manager: region, secret_name_prefix (default truto/; each account is stored at <prefix><environment_id>/<integrated_account_id>, its integration_override at <prefix><environment_id>/<integrated_account_id>/integration-override, and an environment integration's override at <prefix><environment_id>/environment-integration/<environment_integration_id>), an optional kms_key_id, and account_id / partition, which Truto reads from AWS for the store's credentials. The store's credentials are write-only and never returned.

created_atstring · date-time
deactivated_atstring

When the key store last stopped being current (UTC). It can be deleted a minute after this. Null if it was never current.

environment_idstring · uuid

The environment whose secrets live in this store. An environment can have many key stores, at most one active.

idstring · uuid
is_currentboolean

Whether this is the environment's current key store (at most one): new and updated secrets in the environment are written to it; existing ones move on their next write, or all at once with POST /key-store/{id}/move-secrets. A store that isn't current keeps serving what is already in it. A current store whose verification fails stays current: its secrets are only there.

last_errorstring

Why the last verification failed.

last_verified_atstring

When verification last succeeded (UTC).

namestring
providerstring

The store. aws_secrets_manager: AWS Secrets Manager, with secrets encrypted by the customer's KMS key when config.kms_key_id is set.

Possible values:
aws_secrets_manager
statusstring

Whether the store works, like an integrated account's status. connecting: created, or its settings changed while it holds nothing; not proven yet, and nothing is written to it. active: the last POST /key-store/{id}/verify passed. validation_error: the last verification failed (why is in last_error); a verification that passes sets it back to active. Which store is used is is_current.

Possible values:
connectingactivevalidation_error
updated_atstring · date-time