// Exports a private certificate issued by a private certificate authority (CA) for
// use anywhere. The exported file contains the certificate, the certificate chain,
// and the encrypted private 2048-bit RSA key associated with the public key that
// is embedded in the certificate. For security, you must assign a passphrase for
// the private key when exporting it. For information about exporting and
// formatting a certificate using the ACM console or CLI, see Export a Private
// Certificate
// (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-export-private.html).
Exports a private certificate issued by a private certificate authority (CA) for
use anywhere. The exported file contains the certificate, the certificate chain,
and the encrypted private 2048-bit RSA key associated with the public key that
is embedded in the certificate. For security, you must assign a passphrase for
the private key when exporting it. For information about exporting and
formatting a certificate using the ACM console or CLI, see Export a Private
Certificate
.
// Exports a private certificate issued by a private certificate authority ( CA ) for // use anywhere . The exported file contains the certificate the certificate chain // and the encrypted private 2048 - bit RSA key associated with the public key that // is embedded in the certificate . For security you must assign a passphrase for // the private key when exporting it . For information about exporting and // formatting a certificate using the ACM console or CLI see Export a Private // Certificate // ( https : // docs . aws . amazon . com / acm / latest / userguide / gs - acm - export - private . html ) .
func (c *Client) ExportCertificate(ctx context.Context, params *ExportCertificateInput, optFns ...func(*Options)) (*ExportCertificateOutput, error) {
	if params == nil {
		params = &ExportCertificateInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ExportCertificate", params, optFns, addOperationExportCertificateMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ExportCertificateOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ExportCertificate ( ctx context . Context , params * ExportCertificateInput , optFns ... func ( * Options ) ) ( * ExportCertificateOutput , error ) { if params == nil { params = & ExportCertificateInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationExportCertificateMiddlewares ) if err != nil { return nil , err } out := result . ( * ExportCertificateOutput ) out . ResultMetadata = metadata return out , nil }
Exports a private certificate issued by a private certificate authority (CA) for
use anywhere.
Exports a private certificate issued by a private certificate authority ( CA ) for use anywhere .