This is separate from your project’s local
.env (used only by nasiko run .) and from the
control plane’s own environment (used by the routing engine and orchestrator chat) — the same
key commonly needs to be set in all three places for different parts of the platform to work.
See the quickstart prerequisites for the full breakdown.CLI
--agent, a secret lives at the vault level and any agent you deploy can reference it.
API
The same operations are split across two route families, not one:
Both are authenticated the same way.
Who can manage secrets
Setting, reading, or removing secrets requires thecan_manage_secrets permission. See access control.
How secrets reach a running agent
Secrets aren’t mounted as files or fetched at runtime. They’re decrypted server-side and injected as environment variables at deploy time, alongside the observability configuration. To the agent, a secret is just an environment variable that’s there at process start.Refresh on scale-up
When an agent scales up, Nasiko refreshes secrets immediately before new replicas start, so every replica runs current values. Scaling up is itself a refresh point — no manual restart needed after rotating and then scaling.Related
- Secret management overview — encryption at rest
- Access control overview — role requirements
- Agent runtime — the deploy and lifecycle flow
