@aws-sdk/client-acm-pca 3.667.0 → 3.669.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,16 +27,9 @@ declare const CreateCertificateAuthorityAuditReportCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an audit report that lists every time that your CA private key is used. The
31
- * report is saved in the Amazon S3 bucket that you specify on input. The <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> and <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> actions use
32
- * the private key. </p>
33
- * <note>
34
- * <p>Both Amazon Web Services Private CA and the IAM principal must have permission to write to
35
- * the S3 bucket that you specify. If the IAM principal making the call
36
- * does not have permission to write to the bucket, then an exception is
37
- * thrown. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies">Access
38
- * policies for CRLs in Amazon S3</a>.</p>
39
- * </note>
30
+ * <p>Creates an audit report that lists every time that your CA private key is used to issue a certificate. The <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> and <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> actions use
31
+ * the private key.</p>
32
+ * <p>To save the audit report to your designated Amazon S3 bucket, you must create a bucket policy that grants Amazon Web Services Private CA permission to access and write to it. For an example policy, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#s3-access">Prepare an Amazon S3 bucket for audit reports</a>.</p>
40
33
  * <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption.
41
34
  * For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#audit-report-encryption">Encrypting Your Audit
42
35
  * Reports</a>.</p>
@@ -97,64 +97,62 @@ declare const ImportCertificateAuthorityCertificateCommand_base: {
97
97
  * certificate or chain.</p>
98
98
  * <ul>
99
99
  * <li>
100
- * <p>Basic constraints (<i>must</i> be marked critical)</p>
100
+ * <p>Authority key identifier</p>
101
101
  * </li>
102
102
  * <li>
103
- * <p>Subject alternative names</p>
103
+ * <p>Basic constraints (<i>must</i> be marked critical)</p>
104
104
  * </li>
105
105
  * <li>
106
- * <p>Key usage</p>
106
+ * <p>Certificate policies</p>
107
107
  * </li>
108
108
  * <li>
109
109
  * <p>Extended key usage</p>
110
110
  * </li>
111
111
  * <li>
112
- * <p>Authority key identifier</p>
112
+ * <p>Inhibit anyPolicy</p>
113
113
  * </li>
114
114
  * <li>
115
- * <p>Subject key identifier</p>
115
+ * <p>Issuer alternative name</p>
116
116
  * </li>
117
117
  * <li>
118
- * <p>Issuer alternative name</p>
118
+ * <p>Key usage</p>
119
119
  * </li>
120
120
  * <li>
121
- * <p>Subject directory attributes</p>
121
+ * <p>Name constraints</p>
122
122
  * </li>
123
123
  * <li>
124
- * <p>Subject information access</p>
124
+ * <p>Policy mappings</p>
125
125
  * </li>
126
126
  * <li>
127
- * <p>Certificate policies</p>
127
+ * <p>Subject alternative name</p>
128
128
  * </li>
129
129
  * <li>
130
- * <p>Policy mappings</p>
130
+ * <p>Subject directory attributes</p>
131
131
  * </li>
132
132
  * <li>
133
- * <p>Inhibit anyPolicy</p>
133
+ * <p>Subject key identifier</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>Subject information access</p>
134
137
  * </li>
135
138
  * </ul>
136
139
  * <p>Amazon Web Services Private CA rejects the following extensions when they are marked critical in an
137
140
  * imported CA certificate or chain.</p>
138
141
  * <ul>
139
142
  * <li>
140
- * <p>Name constraints</p>
141
- * </li>
142
- * <li>
143
- * <p>Policy constraints</p>
143
+ * <p>Authority information access</p>
144
144
  * </li>
145
145
  * <li>
146
146
  * <p>CRL distribution points</p>
147
147
  * </li>
148
148
  * <li>
149
- * <p>Authority information access</p>
150
- * </li>
151
- * <li>
152
149
  * <p>Freshest CRL</p>
153
150
  * </li>
154
151
  * <li>
155
- * <p>Any other extension</p>
152
+ * <p>Policy constraints</p>
156
153
  * </li>
157
154
  * </ul>
155
+ * <p>Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions.</p>
158
156
  * @example
159
157
  * Use a bare-bones client and the command you need to make an API call.
160
158
  * ```javascript
@@ -738,33 +738,29 @@ export interface CreateCertificateAuthorityRequest {
738
738
  */
739
739
  CertificateAuthorityConfiguration: CertificateAuthorityConfiguration | undefined;
740
740
  /**
741
- * <p>Contains information to enable Online Certificate Status Protocol (OCSP) support, to
742
- * enable a certificate revocation list (CRL), to enable both, or to enable neither. The
743
- * default is for both certificate validation mechanisms to be disabled. </p>
744
- * <note>
745
- * <p>The following requirements apply to revocation configurations.</p>
746
- * <ul>
747
- * <li>
748
- * <p>A configuration disabling CRLs or OCSP must contain only the <code>Enabled=False</code>
741
+ * <p>Contains information to enable support for Online Certificate Status Protocol (OCSP), certificate revocation list (CRL), both protocols, or neither. By default, both certificate validation mechanisms are disabled.</p>
742
+ * <p>The following requirements apply to revocation configurations.</p>
743
+ * <ul>
744
+ * <li>
745
+ * <p>A configuration disabling CRLs or OCSP must contain only the <code>Enabled=False</code>
749
746
  * parameter, and will fail if other parameters such as <code>CustomCname</code> or
750
747
  * <code>ExpirationInDays</code> are included.</p>
751
- * </li>
752
- * <li>
753
- * <p>In a CRL configuration, the <code>S3BucketName</code> parameter must conform to
748
+ * </li>
749
+ * <li>
750
+ * <p>In a CRL configuration, the <code>S3BucketName</code> parameter must conform to
754
751
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Amazon S3
755
752
  * bucket naming rules</a>.</p>
756
- * </li>
757
- * <li>
758
- * <p>A configuration containing a custom Canonical
753
+ * </li>
754
+ * <li>
755
+ * <p>A configuration containing a custom Canonical
759
756
  * Name (CNAME) parameter for CRLs or OCSP must conform to <a href="https://www.ietf.org/rfc/rfc2396.txt">RFC2396</a> restrictions
760
757
  * on the use of special characters in a CNAME. </p>
761
- * </li>
762
- * <li>
763
- * <p>In a CRL or OCSP configuration, the value of a CNAME parameter must not include a
758
+ * </li>
759
+ * <li>
760
+ * <p>In a CRL or OCSP configuration, the value of a CNAME parameter must not include a
764
761
  * protocol prefix such as "http://" or "https://".</p>
765
- * </li>
766
- * </ul>
767
- * </note>
762
+ * </li>
763
+ * </ul>
768
764
  * <p> For more information, see the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_OcspConfiguration.html">OcspConfiguration</a> and <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html">CrlConfiguration</a>
769
765
  * types.</p>
770
766
  * @public
@@ -2345,34 +2341,33 @@ export interface UpdateCertificateAuthorityRequest {
2345
2341
  */
2346
2342
  CertificateAuthorityArn: string | undefined;
2347
2343
  /**
2348
- * <p>Contains information to enable Online Certificate Status Protocol (OCSP) support, to
2349
- * enable a certificate revocation list (CRL), to enable both, or to enable neither. If
2350
- * this parameter is not supplied, existing capibilites remain unchanged. For more
2344
+ * <p>Contains information to enable support for Online Certificate Status Protocol (OCSP), certificate revocation list (CRL), both protocols, or neither. If you don't supply this parameter, existing capibilites remain unchanged. For more
2351
2345
  * information, see the <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_OcspConfiguration.html">OcspConfiguration</a> and <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html">CrlConfiguration</a> types.</p>
2352
- * <note>
2353
- * <p>The following requirements apply to revocation configurations.</p>
2354
- * <ul>
2355
- * <li>
2356
- * <p>A configuration disabling CRLs or OCSP must contain only the <code>Enabled=False</code>
2346
+ * <p>The following requirements apply to revocation configurations.</p>
2347
+ * <ul>
2348
+ * <li>
2349
+ * <p>A configuration disabling CRLs or OCSP must contain only the <code>Enabled=False</code>
2357
2350
  * parameter, and will fail if other parameters such as <code>CustomCname</code> or
2358
2351
  * <code>ExpirationInDays</code> are included.</p>
2359
- * </li>
2360
- * <li>
2361
- * <p>In a CRL configuration, the <code>S3BucketName</code> parameter must conform to
2352
+ * </li>
2353
+ * <li>
2354
+ * <p>In a CRL configuration, the <code>S3BucketName</code> parameter must conform to
2362
2355
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Amazon S3
2363
2356
  * bucket naming rules</a>.</p>
2364
- * </li>
2365
- * <li>
2366
- * <p>A configuration containing a custom Canonical
2357
+ * </li>
2358
+ * <li>
2359
+ * <p>A configuration containing a custom Canonical
2367
2360
  * Name (CNAME) parameter for CRLs or OCSP must conform to <a href="https://www.ietf.org/rfc/rfc2396.txt">RFC2396</a> restrictions
2368
2361
  * on the use of special characters in a CNAME. </p>
2369
- * </li>
2370
- * <li>
2371
- * <p>In a CRL or OCSP configuration, the value of a CNAME parameter must not include a
2362
+ * </li>
2363
+ * <li>
2364
+ * <p>In a CRL or OCSP configuration, the value of a CNAME parameter must not include a
2372
2365
  * protocol prefix such as "http://" or "https://".</p>
2373
- * </li>
2374
- * </ul>
2375
- * </note>
2366
+ * </li>
2367
+ * </ul>
2368
+ * <important>
2369
+ * <p> If you update the <code>S3BucketName</code> of <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html">CrlConfiguration</a>, you can break revocation for existing certificates. In other words, if you call <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html">UpdateCertificateAuthority</a> to update the CRL configuration's S3 bucket name, Amazon Web Services Private CA only writes CRLs to the new S3 bucket. Certificates issued prior to this point will have the old S3 bucket name in your CRL Distribution Point (CDP) extension, essentially breaking revocation. If you must update the S3 bucket, you'll need to reissue old certificates to keep the revocation working. Alternatively, you can use a <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html#privateca-Type-CrlConfiguration-CustomCname">CustomCname</a> in your CRL configuration if you might need to change the S3 bucket name in the future.</p>
2370
+ * </important>
2376
2371
  * @public
2377
2372
  */
2378
2373
  RevocationConfiguration?: RevocationConfiguration;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm-pca",
3
3
  "description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
4
- "version": "3.667.0",
4
+ "version": "3.669.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-acm-pca",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.667.0",
24
- "@aws-sdk/client-sts": "3.667.0",
23
+ "@aws-sdk/client-sso-oidc": "3.669.0",
24
+ "@aws-sdk/client-sts": "3.669.0",
25
25
  "@aws-sdk/core": "3.667.0",
26
- "@aws-sdk/credential-provider-node": "3.667.0",
26
+ "@aws-sdk/credential-provider-node": "3.669.0",
27
27
  "@aws-sdk/middleware-host-header": "3.667.0",
28
28
  "@aws-sdk/middleware-logger": "3.667.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.667.0",
30
- "@aws-sdk/middleware-user-agent": "3.667.0",
30
+ "@aws-sdk/middleware-user-agent": "3.669.0",
31
31
  "@aws-sdk/region-config-resolver": "3.667.0",
32
32
  "@aws-sdk/types": "3.667.0",
33
33
  "@aws-sdk/util-endpoints": "3.667.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.667.0",
35
- "@aws-sdk/util-user-agent-node": "3.667.0",
35
+ "@aws-sdk/util-user-agent-node": "3.669.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.8",
38
38
  "@smithy/fetch-http-handler": "^3.2.9",