Class: Aws::ACMPCA::Types::ApiPassthrough

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 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",
          custom_attributes: [
            {
              object_identifier: "CustomObjectIdentifier", # required
              value: "String1To256", # required
            },
          ],
        },
        edi_party_name: {
          party_name: "String256", # required
          name_assigner: "String256",
        },
        uniform_resource_identifier: "String253",
        ip_address: "String39",
        registered_id: "CustomObjectIdentifier",
      },
    ],
    custom_extensions: [
      {
        object_identifier: "CustomObjectIdentifier", # required
        value: "Base64String1To4096", # required
        critical: false,
      },
    ],
  },
  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",
    custom_attributes: [
      {
        object_identifier: "CustomObjectIdentifier", # required
        value: "String1To256", # required
      },
    ],
  },
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#extensionsTypes::Extensions

Specifies X.509 extension information for a certificate.

Returns:



397
398
399
400
401
402
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 397

class ApiPassthrough < Struct.new(
  :extensions,
  :subject)
  SENSITIVE = []
  include Aws::Structure
end

#subjectTypes::ASN1Subject

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 Subjectmust 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.

Returns:



397
398
399
400
401
402
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 397

class ApiPassthrough < Struct.new(
  :extensions,
  :subject)
  SENSITIVE = []
  include Aws::Structure
end