Describes the way in which a
Certificate's
Subject and/or
SubjectAltNames
will be resolved.
Enums
Name
Description
SUBJECT_REQUEST_MODE_UNSPECIFIED
Not specified.
DEFAULT
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.
RDN_SEQUENCE
A mode used to get an accurate representation of the Subject field's distinguished name. Indicates that the certificate's Subject and/or SubjectAltNames are specified in the certificate request. When parsing a PEM CSR this mode will maintain the sequence of RDNs found in the CSR's subject field in the issued Certificate. This mode requires the caller to have the `privateca.certificates.create` permission.
REFLECTED_SPIFFE
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class SubjectRequestMode (1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/python/docs/reference/privateca/latest/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.14.3](/python/docs/reference/privateca/1.14.3/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.13.1](/python/docs/reference/privateca/1.13.1/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.12.2](/python/docs/reference/privateca/1.12.2/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.11.0](/python/docs/reference/privateca/1.11.0/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.10.3](/python/docs/reference/privateca/1.10.3/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.9.0](/python/docs/reference/privateca/1.9.0/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.8.1](/python/docs/reference/privateca/1.8.1/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.7.1](/python/docs/reference/privateca/1.7.1/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.6.1](/python/docs/reference/privateca/1.6.1/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.5.0](/python/docs/reference/privateca/1.5.0/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.4.3](/python/docs/reference/privateca/1.4.3/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.3.2](/python/docs/reference/privateca/1.3.2/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.2.4](/python/docs/reference/privateca/1.2.4/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.1.0](/python/docs/reference/privateca/1.1.0/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [1.0.6](/python/docs/reference/privateca/1.0.6/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [0.4.0](/python/docs/reference/privateca/0.4.0/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [0.3.0](/python/docs/reference/privateca/0.3.0/google.cloud.security.privateca_v1.types.SubjectRequestMode)\n- [0.1.1](/python/docs/reference/privateca/0.1.1/google.cloud.security.privateca_v1.types.SubjectRequestMode) \n\n SubjectRequestMode(value)\n\nDescribes the way in which a\nCertificate's\nSubject and/or\nSubjectAltNames\nwill be resolved."]]