/create-keyAsk AIpost https://api.akeyless.io/create-keyBody ParamsalgstringrequiredKey type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096]certificate-common-namestringCommon name for the generated certificate. Relevant only for generate-self-signed-certificate.certificate-countrystringCountry name for the generated certificate. Relevant only for generate-self-signed-certificate.certificate-digest-algostringDigest algorithm to be used for the certificate key signing.certificate-localitystringLocality for the generated certificate. Relevant only for generate-self-signed-certificate.certificate-organizationstringOrganization name for the generated certificate. Relevant only for generate-self-signed-certificate.certificate-provincestringProvince name for the generated certificate. Relevant only for generate-self-signed-certificate.certificate-ttlint64TTL in days for the generated certificate. Required only for generate-self-signed-certificate.conf-file-datastringThe csr config data in base64 encodingcustomer-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)delete_protectionstringProtection from accidental deletion of this object [true/false]descriptionstringDescription of the objectgenerate-self-signed-certificatebooleanWhether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.truefalsehash-algorithmstringDefaults to SHA256Specifies the hash algorithm used for the encryption key's operations, available options: [SHA256, SHA384, SHA512]jsonbooleanDefaults to falseSet output format to JSONtruefalsemetadatastringDeprecated - use descriptionnamestringrequiredKey namesplit-levelint64Defaults to 3The number of fragments that the item will be split into (not includes customer fragment)tagarray of stringsList of the tags attached to this keytagADD stringtokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationResponses 200createKeyResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 7 months ago