Creates a new item in the vault for storing sensitive information like API keys or passwords. The secret value is encrypted at rest and can only be used by workflows.
Standard JWT for user sessions obtained via Altostrat authentication.
A descriptive name for the secret. To generate an API Key, prefix the name with api-key:.
"My App's API Token"
The secret value to store. This field should be omitted when creating an API key.
"sec_abc123def456"
An optional expiration date for the secret.
"2026-10-31T10:00:00Z"
The vault item was created successfully.
The unique prefixed identifier for the vault item.
"vlt_01h3j4k5l6m7n8p9q0r1s2t3u4"
The name of the vault item. For API keys, use the api-key: prefix.
"External Service API Key"
The timestamp when the item was created.
"2025-10-31T10:00:00.000000Z"
The timestamp when the item expires and can no longer be used.
"2026-10-31T10:00:00.000000Z"