CmdID / az / az keyvault / az keyvault key
az keyvault key create
Create a new key, stores it, then returns key parameters and attributes to the client. Azure CLI reference
18 options Its page in the Azure CLI reference
Options
--curveElliptic curve name.--default-cvm-policyUse default policy under which the key can be exported for CVM disk encryption.--default-data-disk-policy, --default-dd-policyUse default policy under which the key can be exported for data disk encryption.--disabledCreate key in disabled state.--expiresExpiration UTC datetime (Y-m-d'T'H:M:S'Z').--exportableWhether the private key can be exported.--external-key-idCreate an external Managed HSM key backed by an External Key Manager (EKM) key id.--hsm-nameName of the HSM.--idId of the key.--immutableMark a release policy as immutable.--ktyThe type of key to create.--name, -nName of the key.--not-beforeKey not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z').--policyThe policy rules under which the key can be exported.--protection, -pSpecifies the type of key protection.--sizeThe key size in bits.--vault-nameName of the Vault.--version, -vThe key version.