Secrets
Using the Secrets page
You can manage secrets and certificates from the Secrets page.
Figure 1 - Secrets page
For complete details on creating and managing Secrets, see the Secrets documentation.
IMPORTANT: The maximum file size for a secret is approximately 1 MB, subtracting approximately 1 KB for the secret store metadata.
Creating key-value pair secrets
Log in to the DC/OS UI as a user with the permission.
Click the + icon in the top right.
Figure 2 - New Secret icon
If you have no current secrets, a Create Secret screen will be displayed. Click on the Create Secret button.
In the ID box of the Create New Secret screen, type the name of your secret and its path, if any.
Select Key-Value Pair as Type.
Type or paste the secret into the Value box.
Figure 4 - Creating a new Secret
Click Create Secret.
Creating secrets from a file
This procedure describes how to use a file to create a secret using the DC/OS web interface.
Click the Secrets tab on the left hand navigation menu.
Click the + icon in the top right.
If you have no current secrets, a Create Secret screen will be displayed. Click on the Create Secret button.
Figure 6 - Create Secret button
In the ID box, provide the name of your secret and its path, if any.
Figure 7 - Create New Secret dialog
Select File as Type.
Click Choose File.
Click Create Secret.
View Created Secret
Returning to the Secrets screen, you can see that your secret has been deployed.