Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::Identity.
The identity associated with a service or workload.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#principal
def principal() -> ::String
Returns
-
(::String) —
Output only. The principal of the identity.
Supported formats:
sa://my-sa@PROJECT_ID.iam.gserviceaccount.comfor GCP Service Accountprincipal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_IDfor Managed Workload Identity