Skip to content
v2.273.0

PrivateKeyFlagsV2Property Struct ​

Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and if user input is required when using a private key.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcaconnectorad as pcaconnectorad } from 'aws-cdk-lib';
const privateKeyFlagsV2Property: pcaconnectorad.CfnTemplate.PrivateKeyFlagsV2Property = {
  clientVersion: 'clientVersion',

  // the properties below are optional
  exportableKey: false,
  strongKeyProtectionRequired: false,
};

Properties ​

clientVersionstringclient_versionstrclientVersionStringClientVersionstringClientVersion*stringrequired#
Defines the minimum client compatibility.
exportableKeyboolean | IResolvableexportable_keytyping.Union[bool, IResolvable]exportableKeyBooleanExportableKeyboolExportableKeyinterface{}#
Allows the private key to be exported.
strongKeyProtectionRequiredboolean | IResolvablestrong_key_protection_requiredtyping.Union[bool, IResolvable]strongKeyProtectionRequiredBooleanStrongKeyProtectionRequiredboolStrongKeyProtectionRequiredinterface{}#
Require user input when using the private key for enrollment.