> For the complete documentation index, see [llms.txt](https://dbi-services.gitbook.io/yak-user-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbi-services.gitbook.io/yak-user-doc/manage-servers/declare/attach-secrets.md).

# Attach secrets

Servers automatically inherit the secrets from the infrastructure to which they belong.

However, additional secrets can be added at server level.\
If a specific secret needs to be attached to your server, select your server from the server list once declared, click the **Actions** button and **"Attach secrets"**

{% hint style="warning" %}
Secrets declared at server level take precedence over infrastructure-level secrets.
{% endhint %}
