class Aws::ACMPCA::Types::ApiPassthrough

Contains X.509 certificate information to be placed in an issued certificate. An `APIPassthrough` or `APICSRPassthrough` template variant must be selected, or else this parameter is ignored.

If conflicting or duplicate certificate information is supplied from other sources, ACM Private CA applies [order of operation rules] to determine what information is used.

[1]: docs.aws.amazon.com/acm-pca/latest/userguide/UsingTemplates.html#template-order-of-operations

@note When making an API call, you may pass ApiPassthrough

data as a hash:

    {
      extensions: {
        certificate_policies: [
          {
            cert_policy_id: "CustomObjectIdentifier", # required
            policy_qualifiers: [
              {
                policy_qualifier_id: "CPS", # required, accepts CPS
                qualifier: { # required
                  cps_uri: "String256", # required
                },
              },
            ],
          },
        ],
        extended_key_usage: [
          {
            extended_key_usage_type: "SERVER_AUTH", # accepts SERVER_AUTH, CLIENT_AUTH, CODE_SIGNING, EMAIL_PROTECTION, TIME_STAMPING, OCSP_SIGNING, SMART_CARD_LOGIN, DOCUMENT_SIGNING, CERTIFICATE_TRANSPARENCY
            extended_key_usage_object_identifier: "CustomObjectIdentifier",
          },
        ],
        key_usage: {
          digital_signature: false,
          non_repudiation: false,
          key_encipherment: false,
          data_encipherment: false,
          key_agreement: false,
          key_cert_sign: false,
          crl_sign: false,
          encipher_only: false,
          decipher_only: false,
        },
        subject_alternative_names: [
          {
            other_name: {
              type_id: "CustomObjectIdentifier", # required
              value: "String256", # required
            },
            rfc_822_name: "String256",
            dns_name: "String253",
            directory_name: {
              country: "CountryCodeString",
              organization: "String64",
              organizational_unit: "String64",
              distinguished_name_qualifier: "ASN1PrintableString64",
              state: "String128",
              common_name: "String64",
              serial_number: "ASN1PrintableString64",
              locality: "String128",
              title: "String64",
              surname: "String40",
              given_name: "String16",
              initials: "String5",
              pseudonym: "String128",
              generation_qualifier: "String3",
            },
            edi_party_name: {
              party_name: "String256", # required
              name_assigner: "String256",
            },
            uniform_resource_identifier: "String253",
            ip_address: "String39",
            registered_id: "CustomObjectIdentifier",
          },
        ],
      },
      subject: {
        country: "CountryCodeString",
        organization: "String64",
        organizational_unit: "String64",
        distinguished_name_qualifier: "ASN1PrintableString64",
        state: "String128",
        common_name: "String64",
        serial_number: "ASN1PrintableString64",
        locality: "String128",
        title: "String64",
        surname: "String40",
        given_name: "String16",
        initials: "String5",
        pseudonym: "String128",
        generation_qualifier: "String3",
      },
    }

@!attribute [rw] extensions

Specifies X.509 extension information for a certificate.
@return [Types::Extensions]

@!attribute [rw] subject

Contains information about the certificate subject. The `Subject`
field in the certificate identifies the entity that owns or controls
the public key in the certificate. The entity can be a user,
computer, device, or service. The `Subject `must contain an X.500
distinguished name (DN). A DN is a sequence of relative
distinguished names (RDNs). The RDNs are separated by commas in the
certificate.
@return [Types::ASN1Subject]

@see docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ApiPassthrough AWS API Documentation

Constants

SENSITIVE