pub struct Oidc {
pub allowed_audiences: Option<Vec<String>>,
pub issuer_uri: Option<String>,
pub jwks_json: Option<String>,
}Expand description
Represents an OpenId Connect 1.0 identity provider.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowed_audiences: Option<Vec<String>>Optional. 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/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/
issuer_uri: Option<String>Required. The OIDC issuer URL. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider’s public keys (via jwks_uri) for verifying tokens like the OIDC ID token. These public key types must be ‘EC’ or ‘RSA’.
jwks_json: Option<String>Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the jwks_uri from the discovery document(fetched from the .well-known path of the issuer_uri) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { “keys”: [ { “kty”: “RSA/EC”, “alg”: “”, “use”: “sig”, “kid”: “”, “n”: “”, “e”: “”, “x”: “”, “y”: “”, “crv”: “” } ] }