/create-classic-keyAsk AIpost https://api.akeyless.io/create-classic-keyBody ParamsalgstringrequiredClassic Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]auto-rotatestringWhether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false]cert-file-datastringCertificate in a PEM format.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-formatstringcertificate-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 encodingdelete_protectionstringProtection from accidental deletion of this object [true/false]descriptionstringDescription of the objectexpiration-event-inarray of stringsHow many days before the expiration of the certificate would you like to be notified.expiration-event-inADD stringgenerate-self-signed-certificatebooleanWhether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.truefalsegpg-algstringgpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]hash-algorithmstringDefaults to SHA256Specifies the hash algorithm used for the encryption key's operations, available options: [SHA256, SHA384, SHA512]item-custom-fieldsobjectAdditional custom fields to associate with the itemitem-custom-fields objectjsonbooleanDefaults to falseSet output format to JSONtruefalsekey-datastringBase64-encoded classic key valuemetadatastringDeprecated - use descriptionnamestringrequiredClassicKey nameprotection-key-namestringThe name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)rotation-event-inarray of stringsHow many days before the rotation of the item would you like to be notifiedrotation-event-inADD stringrotation-intervalstringThe number of days to wait between every automatic rotation (1-365)tagsarray of stringsAdd tags attached to this objecttagsADD stringtokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationResponses 201CreateClassicKeyResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 7 months ago