> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openserv.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Secrets

> Store and manage secrets securely.

<div className="my-4">
  <iframe width="100%" height="500" src="https://www.youtube.com/embed/t4CoiKYMmvs?start=788" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen />

  <div className="text-sm text-fd-muted-foreground mt-2">
    Watch: Secrets.
  </div>
</div>

## Secrets

Manage API keys and credentials used by workflows and agents.

Best practices:

* Create separate keys per environment (dev/staging/prod).
* Grant least privilege and rotate regularly.
* Reference secrets from capabilities instead of hard‑coding them.
