public static interface ExportCertificateRequest.Builder extends AcmRequest.Builder, SdkPojo, CopyableBuilder<ExportCertificateRequest.Builder,ExportCertificateRequest>
| Modifier and Type | Method and Description |
|---|---|
ExportCertificateRequest.Builder |
certificateArn(String certificateArn)
An Amazon Resource Name (ARN) of the issued certificate.
|
ExportCertificateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ExportCertificateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ExportCertificateRequest.Builder |
passphrase(SdkBytes passphrase)
Passphrase to associate with the encrypted exported private key.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildExportCertificateRequest.Builder certificateArn(String certificateArn)
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
certificateArn - An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
ExportCertificateRequest.Builder passphrase(SdkBytes passphrase)
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
passphrase - Passphrase to associate with the encrypted exported private key. When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
ExportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderExportCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.