You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The credentials to connect with use-user-creds/use-target-creds
[optional] [default to 'use-user-creds']
auto_rotate
str
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
[optional]
delete_protection
str
Protection from accidental deletion of this object [true/false]
[optional]
description
str
Description of the object
[optional]
var_json
bool
Set output format to JSON
[optional] [default to False]
key
str
The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
[optional]
max_versions
str
Set the maximum number of versions, limited by the account settings defaults.
[optional]
name
str
Rotated secret name
password_length
str
The length of the password to be generated
[optional]
rotated_password
str
rotated-username password (relevant only for rotator-type=password)
[optional]
rotated_username
str
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
[optional]
rotation_event_in
List[str]
How many days before the rotation of the item would you like to be notified
[optional]
rotation_hour
int
The Hour of the rotation in UTC
[optional]
rotation_interval
str
The number of days to wait between every automatic key rotation (1-365)
[optional]
rotator_type
str
The rotator type. options: [target/password]
tags
List[str]
Add tags attached to this object
[optional]
target_name
str
Target name
token
str
Authentication token (see `/auth` and `/configure`)
[optional]
uid_token
str
The universal identity token, Required only for universal_identity authentication
[optional]
Example
fromakeyless.models.rotated_secret_create_hanadbimportRotatedSecretCreateHanadb# TODO update the JSON string belowjson="{}"# create an instance of RotatedSecretCreateHanadb from a JSON stringrotated_secret_create_hanadb_instance=RotatedSecretCreateHanadb.from_json(json)
# print the JSON string representation of the objectprint(RotatedSecretCreateHanadb.to_json())
# convert the object into a dictrotated_secret_create_hanadb_dict=rotated_secret_create_hanadb_instance.to_dict()
# create an instance of RotatedSecretCreateHanadb from a dictrotated_secret_create_hanadb_from_dict=RotatedSecretCreateHanadb.from_dict(rotated_secret_create_hanadb_dict)