Reference documentation and code samples for the Certificate Authority v1 API enum SubjectRequestMode.
Describes the way in which a
[Certificate][google.cloud.security.privateca.v1.Certificate]'s
[Subject][google.cloud.security.privateca.v1.Subject] and/or
[SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] will be
resolved.
The default mode used in most cases. Indicates that the certificate's
[Subject][google.cloud.security.privateca.v1.Subject] and/or
[SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] are
specified in the certificate request. This mode requires the caller to have
the privateca.certificates.create permission.
ReflectedSpiffe
A mode reserved for special cases. Indicates that the certificate should
have one SPIFFE
[SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] set
by the service based on the caller's identity. This mode will ignore any
explicitly specified [Subject][google.cloud.security.privateca.v1.Subject]
and/or
[SubjectAltNames][google.cloud.security.privateca.v1.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-03-21 UTC."],[[["The latest version available for `SubjectRequestMode` in the Google Cloud Security Private CA v1 API is 3.9.0, as indicated by the `(latest)` tag in the provided list."],["`SubjectRequestMode` is an enum within the Google.Cloud.Security.PrivateCA.V1 namespace, defining how a certificate's Subject and SubjectAltNames are determined."],["There are three fields defined for `SubjectRequestMode`: Default, ReflectedSpiffe, and Unspecified, each with distinct implications for how certificate information is handled."],["The `Default` mode requires the caller to possess the `privateca.certificates.create` permission, whereas the `ReflectedSpiffe` mode demands the `privateca.certificates.createForSelf` permission."],["The documentation offers a comprehensive list of versions, starting from 1.0.0 up to the most current release of 3.9.0, allowing users to navigate through them."]]],[]]