credentials/ · Body: must be empty
Credentials carry no body — everything is in frontmatter. Secret values are never exported by pull. When you sync, supply the value from your environment via the ${ENV_VAR} placeholder so secrets stay out of git.
Frontmatter
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
org | string | null | No | tenant | Organization name. Omit (or null) for tenant-scoped credentials available to every org. |
name | string | Yes | — | Identifier referenced by agents (in credential_config[].credential). |
type | SECRET | VAULT_PATH | Yes | — | SECRET stores the encrypted value in 2501; VAULT_PATH references an external vault path. |
value | string | When type=SECRET | — | The secret itself. Use ${ENV_VAR} so the value is supplied at sync time and never lands in git. |
vault_path | string | When type=VAULT_PATH | — | The path in your external vault (e.g. secret/prod/db-password). |
description | string | null | No | null | Operator-facing note about what this credential is for. |
is_agent_accessible | boolean | No | true | Whether agents may use this credential during tasks. Disable for credentials only the platform uses. |
Fields NOT supported
id,tenant_id,created_at,updated_at— system-set- The actual decrypted value on
pull— intentionally never exported
Example: a SECRET credential
credentials/web-admin-password.mdx
${WEB_ADMIN_PASSWORD} is resolved from your shell or CI secret store.
Example: a VAULT_PATH credential
credentials/prod-db-password.mdx
Gotchas
pullis a one-way export of metadata only. Re-runningpullwill not fill invalue— it stays out of git by design.SECRETrequiresvalueat sync time. If${WEB_ADMIN_PASSWORD}is unset in the environment, sync rejects the credential. Pre-existing credentials with a value already on the platform are not overwritten by an empty placeholder — sync skips the field rather than wiping it.- Body must be empty. Putting anything in the MDX body fails validation. The value goes in frontmatter only.
- Tenant scoping matters for provider keys. A credential referenced by a Provider’s
API Key Var Namemust be tenant-scoped (orgunset ornull).

