Generate a new Private Key on a keystore
Generate a new Private Key on a keystore
Body
required
Private Key generation request
name
string
requiredThe Key's name |
keystore
string
requiredThe Keystore in which to generate the Key |
description
string (Key type)
requiredThe key type
Enum
rsa-2048
rsa-3072
rsa-4096
rsa-8192
ec-secp256r1
ec-secp384r1
ec-secp521r1
ed-25519
ed-448
mldsa-44
mldsa-65
mldsa-87
mldsa-44sha512
mldsa-65sha512
mldsa-87sha512
|
extractable
boolean | null
If true, this key will be extractable |
modifiable
boolean | null
If true, this key will be modifiable |
hardwareProtected
boolean | null
If true, this key will be hardware protected in AKV and GCP |
Responses
-
201 Private Key successfully generated
namestring requiredThe Private Key's name
keystorestring requiredThe Keystore's name on which this Key is stored
descriptionstring (Key type) requiredThe key type
Enumrsa-2048
rsa-3072
rsa-4096
rsa-8192
ec-secp256r1
ec-secp384r1
ec-secp521r1
ed-25519
ed-448
mldsa-44
mldsa-65
mldsa-87
mldsa-44sha512
mldsa-65sha512
mldsa-87sha512
extractableboolean requiredIf true, this Key can be extracted from the Keystore
aliasstring | nullThe Private Key's alias
modifiableboolean | nullIf true, this Key can be extracted from the Keystore
hardwareProtectedboolean | nullIf the key is protected by hardware
enforcedHashAlgorithmstring | null (Hash Algorithm)This Key's Hash Algorithm
EnumSHA1
SHA224
SHA256
SHA384
SHA512
SHA3_224
SHA3_256
SHA3_384
SHA3_512
-
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
404 Not Found
-
500 Internal Server error