Method: Aws::ACM::Types::RequestCertificateRequest#key_algorithm

Defined in:
lib/aws-sdk-acm/types.rb

#key_algorithmString

Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the Amazon Web Services service where you plan to deploy your certificate. For more information about selecting an algorithm, see [Key algorithms].

<note markdown=“1”> Algorithms supported for an ACM certificate request include:

* `RSA_2048`
  • EC_prime256v1

  • EC_secp384r1

Other listed algorithms are for imported certificates only.

</note>

<note markdown=“1”> When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA’s secret key.

</note>

Default: RSA_2048

[1]: docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms

Returns:

  • (String)


1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
# File 'lib/aws-sdk-acm/types.rb', line 1465

class RequestCertificateRequest < Struct.new(
  :domain_name,
  :validation_method,
  :subject_alternative_names,
  :idempotency_token,
  :domain_validation_options,
  :options,
  :certificate_authority_arn,
  :tags,
  :key_algorithm,
  :managed_by)
  SENSITIVE = []
  include Aws::Structure
end