Google Certificate Authority Service V1 Client - Class SubjectRequestMode (1.3.1)

Reference documentation and code samples for the Google Certificate Authority Service V1 Client class SubjectRequestMode.

Describes the way in which a Certificate's Subject and/or SubjectAltNames will be resolved.

Protobuf type google.cloud.security.privateca.v1.SubjectRequestMode

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

SUBJECT_REQUEST_MODE_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum SUBJECT_REQUEST_MODE_UNSPECIFIED = 0;

PBDEFAULT

Value: 1

The default mode used in most cases. Indicates that the certificate's Subject and/or SubjectAltNames are specified in the certificate request. This mode requires the caller to have the privateca.certificates.create permission.

Generated from protobuf enum DEFAULT = 1;

REFLECTED_SPIFFE

Value: 2

A mode reserved for special cases. Indicates that the certificate should have one SPIFFE SubjectAltNames set by the service based on the caller's identity. This mode will ignore any explicitly specified Subject and/or SubjectAltNames in the certificate request. This mode requires the caller to have the privateca.certificates.createForSelf permission.

Generated from protobuf enum REFLECTED_SPIFFE = 2;