Create and manage secrets in Console¶
This how-to guide shows you how to create and manage a secret in the Nais Console.
Prerequisites¶
- You're part of a Nais team
List secrets¶
- Open Nais console in your browser
- Select your team
- Select the
Secretstab
Create a secret¶
- Click
Create Secret - Select the environment you want to create the secret in
- Enter a name for your secret
- Click
Create - Optionally, add one or more key-value pairs to your newly created secret
Edit a secret¶
- Select the secret you want to edit
- Add, edit, or delete key-value pairs for the secret as desired
-
Click
Savewhen you're satisfied with the changesAfter saving, any workloads using the secret will automatically restart to receive the updated secret values.
Delete a secret¶
- Select the secret you want to delete
-
Click the
Deletebutton in the secret's details pageYou will be prompted to confirm the deletion. Once confirmed, the secret will be permanently deleted and no longer available to any workloads.