/create-secretCopy Pagepost https://api.akeyless.io/create-secretRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsaccessibilitystringDefaults to regularfor personal password managerchange-eventstringTrigger an event when a secret value changed [true/false] (Relevant only for Static Secret)custom-fieldobjectFor Password Management use, additional fieldscustom-field objectdelete_protectionstringProtection from accidental deletion of this object [true/false]descriptionstringDescription of the objectformatstringDefaults to textSecret format [text/json/key-value] (relevant only for type 'generic')inject-urlarray of stringsFor Password Management use, reflect the website contextinject-urlADD stringitem-custom-fieldsobjectAdditional custom fields to associate with the itemitem-custom-fields objectjsonbooleanDefaults to falseSet output format to JSONtruefalselock-during-sra-sessionstringLock this secret for read/update while an SRA session is activemax-versionsstringSet the maximum number of versions, limited by the account settings defaults.metadatastringDeprecated - use descriptionmultiline_valuebooleanThe provided value is a multiline value (separated by '\n')truefalsenamestringrequiredSecret namepasswordstringFor Password Management use, additional fieldsprotection_keystringThe name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)secure-access-bastion-issuerstringDeprecated. use secure-access-certificate-issuersecure-access-certificate-issuerstringPath to the SSH Certificate Issuer for your Akeyless Secure Accesssecure-access-enablestringEnable/Disable secure remote access [true/false]secure-access-gatewaystringsecure-access-hostarray of stringsTarget servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)secure-access-hostADD stringsecure-access-rdp-userstringRemote Desktop Usernamesecure-access-ssh-credsstringStatic-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]secure-access-ssh-userstringOverride the SSH username as indicated in SSH Certificate Issuersecure-access-urlstringDestination URL to inject secretssecure-access-web-browsingbooleanDefaults to falseSecure browser via Akeyless's Secure Remote Access (SRA)truefalsesecure-access-web-proxybooleanDefaults to falseWeb-Proxy via Akeyless's Secure Remote Access (SRA)truefalsetagsarray of stringsAdd tags attached to this objecttagsADD stringtokenstringAuthentication token (see /auth and /configure)typestringDefaults to genericThe secret sub type [generic/password]uid-tokenstringThe universal identity token, Required only for universal_identity authenticationusernamestringFor Password Management usevaluestringrequiredThe secret value (relevant only for type 'generic')Responses 200createSecretResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 7 months ago