/generate-csrAsk AIpost https://api.akeyless.io/generate-csrRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsalgstringalt-namesstringA comma-separated list of dns alternative namescertificate-typestringThe certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)citystringThe city to be included in the CSR certificatecommon-namestringrequiredThe common name to be included in the CSR certificatecountrystringThe country to be included in the CSR certificatecriticalbooleanAdd critical to the key usage extension (will be false if not added)truefalsedepstringThe department to be included in the CSR certificateemail-addressesstringA comma-separated list of email addresses alternative namesexport-private-keybooleanDefaults to falseThe flag to indicate if the private key should be exportedtruefalsegenerate-keybooleanGenerate a new classic key for the csrtruefalsehash-algorithmstringDefaults to SHA256Specifies the hash algorithm used for the encryption key's operations, available options: SHA256, SHA384, SHA512ip-addressesstringA comma-separated list of ip addresses alternative namesjsonbooleanDefaults to falseSet output format to JSONtruefalsekey-typestringrequiredDefaults to classic-keyThe type of the key to generate (classic-key/dfc)namestringrequiredThe key nameorgstringThe organization to be included in the CSR certificatesplit-levelint64Defaults to 3The number of fragments that the item will be split into (not includes customer fragment)statestringThe state to be included in the CSR certificatetokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationuri-sansstringA comma-separated list of uri alternative namesResponses 200generateCsrResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 7 months ago