mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 12:58:32 +07:00
18 lines
706 B
Markdown
18 lines
706 B
Markdown
---
|
|
metaLinks:
|
|
alternates:
|
|
- https://app.gitbook.com/s/j6QEqM3Sd94bdPsX4HaN/user/docker/secrets/add
|
|
---
|
|
|
|
# Add a new secret
|
|
|
|
From the menu select **Secrets** then click **Add secret**.
|
|
|
|
<figure><img src="../../../.gitbook/assets/2.15-docker_secrets_secret_add.gif" alt=""><figcaption></figcaption></figure>
|
|
|
|
Next, give the secret a descriptive name and write a definition of the secret in the **Secret** field. Toggle **Encode secret** on if you want to encode the secret (useful when you use a plain-text password).
|
|
|
|
<figure><img src="../../../.gitbook/assets/2.15-docker_secrets_secret_create.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
 When you're finished, click **Create the secret**.
|