To store a static secret, you need to create a key and configure its value. All secret values are encrypted using the patented Akeyless distributed fragment cryptography (DFC) technology.
You can create secrets from:
- Akeyless Creating secrets from the CLI
- The user interface
- Multiple languages SDK: Java, Go, JS, Python and more…
- Any of our plug-ins for Kubernetes, Jenkins, Ansible, and other common Cloud Infrastructure platforms
To create a new secret, run the
creat-secret command similar to the following:
akeyless create-secret --name mySecret1 --value MySecretPassword
Read more about the options here.
Make sure you've fulfilled the prerequisites. It's time to create a static secret.
You must have Create access to the area in which you want to create this secret. If you don't see the options described here, speak with your administrator for assistance.
- Navigate to the folder in which you want to create the new secret.
- Go to Secret & Keys > New.
- From the dropdown menu select Static Secret (+). The Create New Static Secret window pops up.
- Enter valid values in the window and click Save to create the new secret. The fields and values are described in Create New Static Secret Values described here:
The following table describes the different fields in the Create New Static Secret window and their valid values.
Description and values
Assign any unique name to help you identify which key this is.
Use the slash "/" separator to create or indicate a path as part of the secret creation.
From the CLI, include the entire path and the secret name together as part of the
Use tags as an extra tool for organizing and searching secrets. If the tag you want hasn't yet been created, you can add it as part of secret creation.
Encrypt secret with the following key
Choose an Encryption Key to be used to encrypt your secret. Leave the field empty in order to use the default (protectionKey) system key.
This is the value of the secret (the password essentially). The length should be 16KB.
The provided value is a multiline value (separated by '\n')
Updated 2 days ago
In order to fetch the secret read more here:
|Retrieve and View Static Secrets|