/rotated-secret-create-openai

Body Params
string

Admin API key value to rotate (relevant only for rotator-type=api-key)

string

Admin API key ID to rotate (relevant only for rotator-type=api-key)

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

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

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

string

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

string
required

Rotated secret name

string

The length of the password to be generated

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
required

The rotator type. options: [target/api-key]

tags
array of strings

Add tags attached to this object

tags
string
required

The target name to associate

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