Copy Page/generate-csrpost 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-typestringA comma-separated list of certificate types to include 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)truefalsecustomer-frg-idstringThe customer fragment ID that will be used to create the key (if empty, the key will be created independently of a customer fragment)depstringThe 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 exportedtruefalseext-key-usagestringA comma-separated list of extended key usages to include in the CSR certificategenerate-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)key-usagestringA comma-separated list of key usages to include in the CSR certificatenamestringrequiredThe 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 4 days ago /generate-ca/get-account-logoDid this page help you?YesNo