Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request POST \
--url https://v1.api.altostrat.io/workflows/vault \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "My App's API Token",
"secret": "sec_abc123def456",
"expires_at": "2026-10-31T10:00:00Z"
}
EOF{
"id": "vlt_01h3j4k5l6m7n8p9q0r1s2t3u4",
"name": "External Service API Key",
"created_at": "2025-10-31T10:00:00.000000Z",
"expires_at": "2026-10-31T10:00:00.000000Z"
}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.
curl --request POST \
--url https://v1.api.altostrat.io/workflows/vault \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "My App's API Token",
"secret": "sec_abc123def456",
"expires_at": "2026-10-31T10:00:00Z"
}
EOF{
"id": "vlt_01h3j4k5l6m7n8p9q0r1s2t3u4",
"name": "External Service API Key",
"created_at": "2025-10-31T10:00:00.000000Z",
"expires_at": "2026-10-31T10:00:00.000000Z"
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
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"
Was this page helpful?