interface CfnCertificateAuthorityProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ACMPCA.CfnCertificateAuthorityProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsacmpca#CfnCertificateAuthorityProps |
![]() | software.amazon.awscdk.services.acmpca.CfnCertificateAuthorityProps |
![]() | aws_cdk.aws_acmpca.CfnCertificateAuthorityProps |
![]() | aws-cdk-lib » aws_acmpca » CfnCertificateAuthorityProps |
Properties for defining a CfnCertificateAuthority
.
Example
const cfnCertificateAuthority = new acmpca.CfnCertificateAuthority(this, 'CA', {
type: 'ROOT',
keyAlgorithm: 'RSA_2048',
signingAlgorithm: 'SHA256WITHRSA',
subject: {
country: 'US',
organization: 'string',
organizationalUnit: 'string',
distinguishedNameQualifier: 'string',
state: 'string',
commonName: '123',
serialNumber: 'string',
locality: 'string',
title: 'string',
surname: 'string',
givenName: 'string',
initials: 'DG',
pseudonym: 'string',
generationQualifier: 'DBG',
},
});
Properties
Name | Type | Description |
---|---|---|
key | string | Type of the public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate. |
signing | string | Name of the algorithm your private CA uses to sign certificate requests. |
subject | IResolvable | Subject | Structure that contains X.500 distinguished name information for your private CA. |
type | string | Type of your private CA. |
csr | IResolvable | Csr | Specifies information to be added to the extension section of the certificate signing request (CSR). |
key | string | Specifies a cryptographic key management compliance standard used for handling CA keys. |
revocation | IResolvable | Revocation | Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA. |
tags? | Cfn [] | Key-value pairs that will be attached to the new private CA. |
usage | string | Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. |
keyAlgorithm
Type:
string
Type of the public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate.
When you create a subordinate CA, you must use a key algorithm supported by the parent CA.
signingAlgorithm
Type:
string
Name of the algorithm your private CA uses to sign certificate requests.
This parameter should not be confused with the SigningAlgorithm
parameter used to sign certificates when they are issued.
subject
Type:
IResolvable
|
Subject
Structure that contains X.500 distinguished name information for your private CA.
type
Type:
string
Type of your private CA.
csrExtensions?
Type:
IResolvable
|
Csr
(optional)
Specifies information to be added to the extension section of the certificate signing request (CSR).
keyStorageSecurityStandard?
Type:
string
(optional)
Specifies a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Some AWS Regions do not support the default. When creating a CA in these Regions, you must provide
FIPS_140_2_LEVEL_2_OR_HIGHER
as the argument forKeyStorageSecurityStandard
. Failure to do this results in anInvalidArgsException
with the message, "A certificate authority cannot be created in this region with the specified security standard."For information about security standard support in various Regions, see Storage and security compliance of AWS Private CA private keys .
revocationConfiguration?
Type:
IResolvable
|
Revocation
(optional)
Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA.
tags?
Type:
Cfn
[]
(optional)
Key-value pairs that will be attached to the new private CA.
You can associate up to 50 tags with a private CA. For information using tags with IAM to manage permissions, see Controlling Access Using IAM Tags .
usageMode?
Type:
string
(optional)
Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly.
Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.