Sets a secret for your tenant. The secret value is read from stdin — it cannot be passed as a command-line argument. Once set, the secret is encrypted at rest and delivered to every agent VM as an environment variable. A secret namedDocumentation Index
Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
Use this file to discover all available pages before exploring further.
ANTHROPIC_API_KEY is available to agents as $ANTHROPIC_API_KEY. See profiles and secrets for how secrets are delivered to agents.
Synopsis
murmur secret set in an interactive terminal without piped input returns an error.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
NAME | string | yes | The secret name. Must match [A-Z][A-Z0-9_]* — uppercase letters, digits, and underscores, starting with a letter. This name becomes the environment variable name on agent VMs. |
Examples
Set an API key
Set a secret from a file
Overwrite an existing secret
Setting a secret that already exists replaces the value. There is no confirmation prompt.Errors
| Code | Meaning | What to do |
|---|---|---|
INVALID_ARGUMENT | secret name "foo" must match [A-Z][A-Z0-9_]* | Use uppercase letters, digits, and underscores only. The name must start with a letter. |
INVALID_ARGUMENT | secret name "MURMUR_X" is reserved (MURMUR_* is internal) | Choose a name that does not start with MURMUR_. |
INVALID_ARGUMENT | secret name "GH_TOKEN" is reserved — it is automatically populated from the developer profile | GH_TOKEN is provided automatically. You do not need to set it. |
INVALID_ARGUMENT | plaintext_value is required | The piped input was empty. Provide a non-empty value. |
| — | secret value must be piped via stdin | You ran the command interactively. Pipe the value — e.g. echo "value" | murmur secret set NAME. |
UNAUTHENTICATED | Identity token is missing or expired. | Run murmur auth or check your murmur.local.yaml configuration. |
Related
secret— catalog resource reference- Profiles and secrets — concept overview
murmur secret ls— list secret namesmurmur secret rm— delete a secret