Class IamWorkforcePoolProviderOidc.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • clientId

        @Stability(Stable)
        public IamWorkforcePoolProviderOidc.Builder clientId​(String clientId)
        Parameters:
        clientId - The client ID. Must match the audience claim of the JWT issued by the identity provider. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#client_id IamWorkforcePoolProvider#client_id}
        Returns:
        this
      • issuerUri

        @Stability(Stable)
        public IamWorkforcePoolProviderOidc.Builder issuerUri​(String issuerUri)
        Parameters:
        issuerUri - The OIDC issuer URI. Must be a valid URI using the 'https' scheme. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#issuer_uri IamWorkforcePoolProvider#issuer_uri}
        Returns:
        this
      • jwksJson

        @Stability(Stable)
        public IamWorkforcePoolProviderOidc.Builder jwksJson​(String jwksJson)
        Parameters:
        jwksJson - OIDC JWKs in JSON String format. For details on definition of a JWK, see https:tools.ietf.org/html/rfc7517. If not set, then we use the 'jwks_uri' from the discovery document fetched from the .well-known path for the 'issuer_uri'. 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": "" } ] } ``` Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#jwks_json IamWorkforcePoolProvider#jwks_json}
        Returns:
        this