v1

latestOpenAPI 3.0.02026-07-246171,3332.1 MB
v2

post/dynamic-secret-create-mongodb

Request body

custom-username-templatestring

Customize how temporary usernames are generated using go template

delete_protectionstring

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

descriptionstring

Description of the object

input-rulestring[]

Agentic input rule in name=...,rule=... format (e.g. name=rule1,rule=Sanitize input) Mirrors commands.AgenticRulesParams — kept separate because ResourceDS cannot embed it (different package, different struct layout).

item-custom-fieldsobject

Additional custom fields to associate with the item

jsonboolean

Set output format to JSON

mongodb-atlas-api-private-keystring

MongoDB Atlas private key

mongodb-atlas-api-public-keystring

MongoDB Atlas public key

mongodb-atlas-project-idstring

MongoDB Atlas project ID

mongodb-custom-datastring

MongoDB custom data

mongodb-default-auth-dbstring

MongoDB server default authentication database

mongodb-host-portstring

MongoDB server host and port

mongodb-namestring

MongoDB Name

mongodb-passwordstring

MongoDB server password. You will prompted to provide a password if it will not appear in CLI parameters

mongodb-rolesstring

MongoDB Roles

mongodb-scopesstring

MongoDB Scopes (Atlas only)

mongodb-server-uristring

MongoDB server URI

mongodb-uri-optionsstring

MongoDB server URI options

mongodb-usernamestring

MongoDB server username

namestring required

Dynamic secret name

output-rulestring[]

Agentic output rule in name=...,rule=... format (e.g. name=rule1,rule=Mask secrets)

password-lengthstring

The length of the password to be generated

producer-encryption-key-namestring

Encrypt producer with following key

secure-access-bastion-issuerstring

Deprecated. use secure-access-certificate-issuer

secure-access-certificate-issuerstring

Path to the SSH Certificate Issuer for your Akeyless Secure Access

secure-access-db-namestring

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

secure-access-delayinteger

The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds

secure-access-enablestring

Enable/Disable secure remote access [true/false]

secure-access-hoststring[]

Target DB servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts)

secure-access-webboolean

Enable Web Secure Remote Access

tagsstring[]

Add tags attached to this object

target-namestring

Target name

tokenstring

Authentication token (see /auth and /configure)

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

user-ttlstring

User TTL

Response

dynamicSecretCreateMongoDbResponse wraps response body.