View source: R/acmpca_operations.R
acmpca_issue_certificate | R Documentation |
Uses your private certificate authority (CA), or one that has been shared with you, to issue a client certificate. This action returns the Amazon Resource Name (ARN) of the certificate. You can retrieve the certificate by calling the get_certificate
action and specifying the ARN.
See https://www.paws-r-sdk.com/docs/acmpca_issue_certificate/ for full documentation.
acmpca_issue_certificate(
ApiPassthrough = NULL,
CertificateAuthorityArn,
Csr,
SigningAlgorithm,
TemplateArn = NULL,
Validity,
ValidityNotBefore = NULL,
IdempotencyToken = NULL
)
ApiPassthrough |
Specifies X.509 certificate information to be included in the issued
certificate. An If conflicting or duplicate certificate information is supplied during certificate issuance, Amazon Web Services Private CA applies order of operation rules to determine what information is used. |
CertificateAuthorityArn |
[required] The Amazon Resource Name (ARN) that was returned when you called
|
Csr |
[required] The certificate signing request (CSR) for the certificate you want to issue. As an example, you can use the following OpenSSL command to create the CSR and a 2048 bit RSA private key.
If you have a configuration file, you can then use the following OpenSSL
command. The
Note: A CSR must provide either a subject name or a subject alternative name or the request will be rejected. |
SigningAlgorithm |
[required] The name of the algorithm that will be used to sign the certificate to be issued. This parameter should not be confused with the The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. |
TemplateArn |
Specifies a custom configuration template to use when issuing a
certificate. If this parameter is not provided, Amazon Web Services
Private CA defaults to the Note: The CA depth configured on a subordinate CA certificate must not exceed the limit set by its parents in the CA hierarchy. For a list of |
Validity |
[required] Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when The end of the validity period configured on a certificate must not exceed the limit set on its parents in the CA hierarchy. |
ValidityNotBefore |
Information describing the start of the validity period of the certificate. This parameter sets the “Not Before" date for the certificate. By default, when issuing a certificate, Amazon Web Services Private CA
sets the "Not Before" date to the issuance time minus 60 minutes. This
compensates for clock inconsistencies across computer systems. The
Unlike the The |
IdempotencyToken |
Alphanumeric string that can be used to distinguish between calls to the IssueCertificate action. Idempotency tokens for IssueCertificate time out after five minutes. Therefore, if you call IssueCertificate multiple times with the same idempotency token within five minutes, Amazon Web Services Private CA recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, Amazon Web Services Private CA recognizes that you are requesting multiple certificates. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.