CLI Reference - Rotated Secrets

📘

NOTE

Looking for a specific command? Use the Table of Contents on the right. ===>

Rotated Secrets

create-rotated-secret

Creates a new rotated secret item

Mandatory Parameters

Parameter

Description

-u, --gateway-url[=http://localhost:8000]

Akeyless Gateway URL (Configuration Management port).

-n, --name

Secret name.

--target-name

The target name to associate.

Optional Parameters

Parameter

Description

-m, --metadata

Metadata about the secret.

-t, --tag

List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2.

-k, --key

The name of a key that used to encrypt the secret value (if empty, the account default protection Key key will be used)

--auto-rotate

Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation.

--rotation-interval

The number of days to wait between every automatic key rotation (1-365).

--rotation-hour

The Hour of the rotation in UTC.

--rotator-type[=password]

The rotator type password/target/api-key.

--rotator-creds-type[=use-self-creds]

The credentials to connect with use-self-creds/use-target-creds

get-rotated-secret-value

Get rotated secret value

Usage
akeyless get-rotated-secret-value -n <path/to/rotated/secret>
Parameters

Parameter

Description

-n, --name

A path to the rotated secret


Did this page help you?