CertificateConfig

A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.

JSON representation
{
  "subjectConfig": {
    object (SubjectConfig)
  },
  "reusableConfig": {
    object (ReusableConfigWrapper)
  },
  "publicKey": {
    object (PublicKey)
  }
}
Fields
subjectConfig

object (SubjectConfig)

Required. Specifies some of the values in a certificate that are related to the subject.

reusableConfig

object (ReusableConfigWrapper)

Required. Describes how some of the technical fields in a certificate should be populated.

publicKey

object (PublicKey)

Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.

SubjectConfig

These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.

JSON representation
{
  "subject": {
    object (Subject)
  },
  "commonName": string,
  "subjectAltName": {
    object (SubjectAltNames)
  }
}
Fields
subject

object (Subject)

Required. Contains distinguished name fields such as the location and organization.

commonName

string

Optional. The "common name" of the distinguished name.

subjectAltName

object (SubjectAltNames)

Optional. The subject alternative name fields.