CLI Reference - Dynamic Secrets
NOTE
Looking for a specific command? Use the Table of Contents on the right. ===>
Dynamic Secrets
create-dynamic-secret
create-dynamic-secret
Creates a new dynamic secret item.
Usage
akeyless create-dynamic-secret -n <Dynamic Secret Name>
Parameters
Parameter | Description |
---|---|
| Dynamic secret name. |
| Metadata about the dynamic secret. |
| List of the tags attached to this secret. To specify multiple tags use the argument multiple times: -t Tag1 -t Tag2. |
| The name of a key that is used to encrypt the dynamic secret values (if empty, the account default protection Key will be used). |
get-dynamic-secret-value
get-dynamic-secret-value
Gets dynamic secret value.
Usage
akeyless get-dynamic-secret-value -n <Dynamic Secret Name>
Parameters
Parameter | Description |
---|---|
| Dynamic secret name |
delete-item
delete-item
Deletes any secret, key, certificate or role. See Commands for all items and objects for details.
Usage
akeyless delete-item -n <path/to/item>
Mandatory Parameters
Parameter | Description |
---|---|
| Path to the item to be deleted |
Optional Parameters
Parameter | Description |
---|---|
| The specific version you want to delete - 0=last version, -1=entire item with all versions (default). |
| The number of days to wait before deleting the item (relevant for keys only). By default 7 days. |
| When delete-in-days=-1, must be set, by default set to false. |
Updated 19 days ago