Skip to content
v2.273.0

KeyUsageProperty Struct ​

Defines one or more purposes for which the key contained in the certificate can be used.

Default value for each option is false.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_acmpca as acmpca } from 'aws-cdk-lib';
const keyUsageProperty: acmpca.CfnCertificateAuthority.KeyUsageProperty = {
  crlSign: false,
  dataEncipherment: false,
  decipherOnly: false,
  digitalSignature: false,
  encipherOnly: false,
  keyAgreement: false,
  keyCertSign: false,
  keyEncipherment: false,
  nonRepudiation: false,
};

Properties ​

crlSignboolean | IResolvablecrl_signtyping.Union[bool, IResolvable]crlSignBooleanCrlSignboolCrlSigninterface{}= false#
Key can be used to sign CRLs.
dataEnciphermentboolean | IResolvabledata_enciphermenttyping.Union[bool, IResolvable]dataEnciphermentBooleanDataEnciphermentboolDataEnciphermentinterface{}= false#
Key can be used to decipher data.
decipherOnlyboolean | IResolvabledecipher_onlytyping.Union[bool, IResolvable]decipherOnlyBooleanDecipherOnlyboolDecipherOnlyinterface{}= false#
Key can be used only to decipher data.
digitalSignatureboolean | IResolvabledigital_signaturetyping.Union[bool, IResolvable]digitalSignatureBooleanDigitalSignatureboolDigitalSignatureinterface{}= false#
Key can be used for digital signing.
encipherOnlyboolean | IResolvableencipher_onlytyping.Union[bool, IResolvable]encipherOnlyBooleanEncipherOnlyboolEncipherOnlyinterface{}= false#
Key can be used only to encipher data.
keyAgreementboolean | IResolvablekey_agreementtyping.Union[bool, IResolvable]keyAgreementBooleanKeyAgreementboolKeyAgreementinterface{}= false#
Key can be used in a key-agreement protocol.
keyCertSignboolean | IResolvablekey_cert_signtyping.Union[bool, IResolvable]keyCertSignBooleanKeyCertSignboolKeyCertSigninterface{}= false#
Key can be used to sign certificates.
keyEnciphermentboolean | IResolvablekey_enciphermenttyping.Union[bool, IResolvable]keyEnciphermentBooleanKeyEnciphermentboolKeyEnciphermentinterface{}= false#
Key can be used to encipher data.
nonRepudiationboolean | IResolvablenon_repudiationtyping.Union[bool, IResolvable]nonRepudiationBooleanNonRepudiationboolNonRepudiationinterface{}= false#
Key can be used for non-repudiation.