/rotated-secret-update-mongodb

Body Params
add-tag
array of strings

List of the new tags that will be attached to this item

add-tag
string
Defaults to use-user-creds

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

string

Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]

string

Protection from accidental deletion of this object [true/false]

string
Defaults to default_metadata

Description of the object

item-custom-fields
object

Additional custom fields to associate with the item

boolean
Defaults to false

Set output format to JSON

string

Whether to keep previous version [true/false]. If not set, use default according to account settings

string

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

string

Lock this secret for read/update while an SRA session is active

string

Set the maximum number of versions, limited by the account settings defaults.

string
required

Rotated secret name

string

New item name

string

The length of the password to be generated

rm-tag
array of strings

List of the existent tags that will be removed from this item

rm-tag
string

StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.

string

rotated-username password (relevant only for rotator-type=password)

string

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)

rotation-event-in
array of strings

How many days before the rotation of the item would you like to be notified

rotation-event-in
int32

The Hour of the rotation in UTC

string

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

string

Deprecated. use secure-access-certificate-issuer

string

Path to the SSH Certificate Issuer for your Akeyless Secure Access

string

The DB name (relevant only for DB Dynamic-Secret)

string

Enable/Disable secure remote access [true/false]

secure-access-host
array of strings

Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)

secure-access-host
boolean
Defaults to false

Enable Web Secure Remote Access

string

Authentication token (see /auth and /configure)

string

The universal identity token, Required only for universal_identity authentication

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Footer Section