You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ACMPCA::Types::CertificateAuthorityConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb

Overview

Note:

When making an API call, you may pass CertificateAuthorityConfiguration data as a hash:

{
  key_algorithm: "RSA_2048", # required, accepts RSA_2048, RSA_4096, EC_prime256v1, EC_secp384r1
  signing_algorithm: "SHA256WITHECDSA", # required, accepts SHA256WITHECDSA, SHA384WITHECDSA, SHA512WITHECDSA, SHA256WITHRSA, SHA384WITHRSA, SHA512WITHRSA
  subject: { # required
    country: "CountryCodeString",
    organization: "String64",
    organizational_unit: "String64",
    distinguished_name_qualifier: "DistinguishedNameQualifierString",
    state: "String128",
    common_name: "String64",
    serial_number: "String64",
    locality: "String128",
    title: "String64",
    surname: "String40",
    given_name: "String16",
    initials: "String5",
    pseudonym: "String128",
    generation_qualifier: "String3",
  },
}

Contains configuration information for your private certificate authority (CA). This includes information about the class of public key algorithm and the key pair that your private CA creates when it issues a certificate. It also includes the signature algorithm that it uses when issuing certificates, and its X.500 distinguished name. You must specify this information when you call the CreateCertificateAuthority action.

Instance Attribute Summary collapse

Instance Attribute Details

#key_algorithmString

Type of the public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate. When you create a subordinate CA, you must use a key algorithm supported by the parent CA.

Returns:

  • (String)


264
265
266
267
268
269
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 264

class CertificateAuthorityConfiguration < Struct.new(
  :key_algorithm,
  :signing_algorithm,
  :subject)
  include Aws::Structure
end

#signing_algorithmString

Name of the algorithm your private CA uses to sign certificate requests.

Returns:

  • (String)


264
265
266
267
268
269
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 264

class CertificateAuthorityConfiguration < Struct.new(
  :key_algorithm,
  :signing_algorithm,
  :subject)
  include Aws::Structure
end

#subjectTypes::ASN1Subject

Structure that contains X.500 distinguished name information for your private CA.

Returns:



264
265
266
267
268
269
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 264

class CertificateAuthorityConfiguration < Struct.new(
  :key_algorithm,
  :signing_algorithm,
  :subject)
  include Aws::Structure
end