class Google::Apis::IamV1::Oidc

Represents an OpenId Connect 1.0 identity provider.

Attributes

allowed_audiences[RW]

Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: “ ` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ iam.googleapis.com/projects//locations//workloadIdentityPools// providers/ “` Corresponds to the JSON property `allowedAudiences` @return [Array<String>]

issuer_uri[RW]

Required. The OIDC issuer URL. Must be an HTTPS endpoint. Corresponds to the JSON property `issuerUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/iam_v1/classes.rb, line 778
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/iam_v1/classes.rb, line 783
def update!(**args)
  @allowed_audiences = args[:allowed_audiences] if args.key?(:allowed_audiences)
  @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
end