

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::PCAConnectorAD::Template EnrollmentFlagsV2
<a name="aws-properties-pcaconnectorad-template-enrollmentflagsv2"></a>

Template configurations for v2 template schema.

## Syntax
<a name="aws-properties-pcaconnectorad-template-enrollmentflagsv2-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-pcaconnectorad-template-enrollmentflagsv2-syntax.json"></a>

```
{
  "[EnableKeyReuseOnNtTokenKeysetStorageFull](#cfn-pcaconnectorad-template-enrollmentflagsv2-enablekeyreuseonnttokenkeysetstoragefull)" : Boolean,
  "[IncludeSymmetricAlgorithms](#cfn-pcaconnectorad-template-enrollmentflagsv2-includesymmetricalgorithms)" : Boolean,
  "[NoSecurityExtension](#cfn-pcaconnectorad-template-enrollmentflagsv2-nosecurityextension)" : Boolean,
  "[RemoveInvalidCertificateFromPersonalStore](#cfn-pcaconnectorad-template-enrollmentflagsv2-removeinvalidcertificatefrompersonalstore)" : Boolean,
  "[UserInteractionRequired](#cfn-pcaconnectorad-template-enrollmentflagsv2-userinteractionrequired)" : Boolean
}
```

### YAML
<a name="aws-properties-pcaconnectorad-template-enrollmentflagsv2-syntax.yaml"></a>

```
  [EnableKeyReuseOnNtTokenKeysetStorageFull](#cfn-pcaconnectorad-template-enrollmentflagsv2-enablekeyreuseonnttokenkeysetstoragefull): Boolean
  [IncludeSymmetricAlgorithms](#cfn-pcaconnectorad-template-enrollmentflagsv2-includesymmetricalgorithms): Boolean
  [NoSecurityExtension](#cfn-pcaconnectorad-template-enrollmentflagsv2-nosecurityextension): Boolean
  [RemoveInvalidCertificateFromPersonalStore](#cfn-pcaconnectorad-template-enrollmentflagsv2-removeinvalidcertificatefrompersonalstore): Boolean
  [UserInteractionRequired](#cfn-pcaconnectorad-template-enrollmentflagsv2-userinteractionrequired): Boolean
```

## Properties
<a name="aws-properties-pcaconnectorad-template-enrollmentflagsv2-properties"></a>

`EnableKeyReuseOnNtTokenKeysetStorageFull`  <a name="cfn-pcaconnectorad-template-enrollmentflagsv2-enablekeyreuseonnttokenkeysetstoragefull"></a>
Allow renewal using the same key.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`IncludeSymmetricAlgorithms`  <a name="cfn-pcaconnectorad-template-enrollmentflagsv2-includesymmetricalgorithms"></a>
Include symmetric algorithms allowed by the subject.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NoSecurityExtension`  <a name="cfn-pcaconnectorad-template-enrollmentflagsv2-nosecurityextension"></a>
This flag instructs the CA to not include the security extension szOID\$1NTDS\$1CA\$1SECURITY\$1EXT (OID:1.3.6.1.4.1.311.25.2), as specified in [MS-WCCE] sections 2.2.2.7.7.4 and 3.2.2.6.2.1.4.5.9, in the issued certificate. This addresses a Windows Kerberos elevation-of-privilege vulnerability.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RemoveInvalidCertificateFromPersonalStore`  <a name="cfn-pcaconnectorad-template-enrollmentflagsv2-removeinvalidcertificatefrompersonalstore"></a>
Delete expired or revoked certificates instead of archiving them.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`UserInteractionRequired`  <a name="cfn-pcaconnectorad-template-enrollmentflagsv2-userinteractionrequired"></a>
Require user interaction when the subject is enrolled and the private key associated with the certificate is used.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)