Viewing docs for Google Cloud v9.36.1
published on Thursday, Sep 3, 2026 by Pulumi
published on Thursday, Sep 3, 2026 by Pulumi
Viewing docs for Google Cloud v9.36.1
published on Thursday, Sep 3, 2026 by Pulumi
published on Thursday, Sep 3, 2026 by Pulumi
Get the OpenID provider configuration (/.well-known/openid-configuration) for an Agent Workload Identity Pool from Google Cloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const example = gcp.iam.getWorkloadIdentityPoolOpenidConfig({
resourceName: "https://sts.googleapis.com/v1/organizations/433637338589/locations/global/workloadIdentityPools/agents.global.org-433637338589.system.id.goog/.well-known/openid-configuration",
});
import pulumi
import pulumi_gcp as gcp
example = gcp.iam.get_workload_identity_pool_openid_config(resource_name="https://sts.googleapis.com/v1/organizations/433637338589/locations/global/workloadIdentityPools/agents.global.org-433637338589.system.id.goog/.well-known/openid-configuration")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.GetWorkloadIdentityPoolOpenidConfig(ctx, &iam.GetWorkloadIdentityPoolOpenidConfigArgs{
ResourceName: "https://sts.googleapis.com/v1/organizations/433637338589/locations/global/workloadIdentityPools/agents.global.org-433637338589.system.id.goog/.well-known/openid-configuration",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var example = Gcp.Iam.GetWorkloadIdentityPoolOpenidConfig.Invoke(new()
{
ResourceName = "https://sts.googleapis.com/v1/organizations/433637338589/locations/global/workloadIdentityPools/agents.global.org-433637338589.system.id.goog/.well-known/openid-configuration",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.iam.IamFunctions;
import com.pulumi.gcp.iam.inputs.GetWorkloadIdentityPoolOpenidConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = IamFunctions.getWorkloadIdentityPoolOpenidConfig(GetWorkloadIdentityPoolOpenidConfigArgs.builder()
.resourceName("https://sts.googleapis.com/v1/organizations/433637338589/locations/global/workloadIdentityPools/agents.global.org-433637338589.system.id.goog/.well-known/openid-configuration")
.build());
}
}
variables:
example:
fn::invoke:
function: gcp:iam:getWorkloadIdentityPoolOpenidConfig
arguments:
resourceName: https://sts.googleapis.com/v1/organizations/433637338589/locations/global/workloadIdentityPools/agents.global.org-433637338589.system.id.goog/.well-known/openid-configuration
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_iam_getworkloadidentitypoolopenidconfig" "example" {
resource_name = "https://sts.googleapis.com/v1/organizations/433637338589/locations/global/workloadIdentityPools/agents.global.org-433637338589.system.id.goog/.well-known/openid-configuration"
}
Using getWorkloadIdentityPoolOpenidConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkloadIdentityPoolOpenidConfig(args: GetWorkloadIdentityPoolOpenidConfigArgs, opts?: InvokeOptions): Promise<GetWorkloadIdentityPoolOpenidConfigResult>
function getWorkloadIdentityPoolOpenidConfigOutput(args: GetWorkloadIdentityPoolOpenidConfigOutputArgs, opts?: InvokeOutputOptions): Output<GetWorkloadIdentityPoolOpenidConfigResult>def get_workload_identity_pool_openid_config(resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkloadIdentityPoolOpenidConfigResult
def get_workload_identity_pool_openid_config_output(resource_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetWorkloadIdentityPoolOpenidConfigResult]func GetWorkloadIdentityPoolOpenidConfig(ctx *Context, args *GetWorkloadIdentityPoolOpenidConfigArgs, opts ...InvokeOption) (*GetWorkloadIdentityPoolOpenidConfigResult, error)
func GetWorkloadIdentityPoolOpenidConfigOutput(ctx *Context, args *GetWorkloadIdentityPoolOpenidConfigOutputArgs, opts ...InvokeOption) GetWorkloadIdentityPoolOpenidConfigResultOutput> Note: This function is named GetWorkloadIdentityPoolOpenidConfig in the Go SDK.
public static class GetWorkloadIdentityPoolOpenidConfig
{
public static Task<GetWorkloadIdentityPoolOpenidConfigResult> InvokeAsync(GetWorkloadIdentityPoolOpenidConfigArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadIdentityPoolOpenidConfigResult> Invoke(GetWorkloadIdentityPoolOpenidConfigInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadIdentityPoolOpenidConfigResult> Invoke(GetWorkloadIdentityPoolOpenidConfigInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWorkloadIdentityPoolOpenidConfigResult> getWorkloadIdentityPoolOpenidConfig(GetWorkloadIdentityPoolOpenidConfigArgs args, InvokeOptions options)
public static Output<GetWorkloadIdentityPoolOpenidConfigResult> getWorkloadIdentityPoolOpenidConfig(GetWorkloadIdentityPoolOpenidConfigArgs args, InvokeOptions options)
public static Output<GetWorkloadIdentityPoolOpenidConfigResult> getWorkloadIdentityPoolOpenidConfig(GetWorkloadIdentityPoolOpenidConfigArgs args, InvokeOutputOptions options)
fn::invoke:
function: gcp:iam/getWorkloadIdentityPoolOpenidConfig:getWorkloadIdentityPoolOpenidConfig
arguments:
# arguments dictionarydata "gcp_iam_get_workload_identity_pool_openid_config" "name" {
# arguments
}The following arguments are supported:
- Resource
Name string - The OIDC discovery URI.
- Resource
Name string - The OIDC discovery URI.
- resource_
name string - The OIDC discovery URI.
- resource
Name String - The OIDC discovery URI.
- resource
Name string - The OIDC discovery URI.
- resource_
name str - The OIDC discovery URI.
- resource
Name String - The OIDC discovery URI.
getWorkloadIdentityPoolOpenidConfig Result
The following output properties are available:
- string
- URL pointing to an authorization endpoint under this issuer.
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Token List<string>Signing Alg Values Supporteds - JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID token to encode the claims in a JWT [JWT].
- Issuer string
- URL using the https scheme with no query or fragment components that the OP asserts as its issuer identifier.
- Jwks
Uri string - URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
- Resource
Name string - Response
Types List<string>Supporteds - JSON array containing a list of the OAuth 2.0 responseType values that this OP supports.
- Subject
Types List<string>Supporteds - JSON array containing a list of the subject identifier types that this OP supports.
- Token
Endpoint string - URL pointing to a token endpoint under this issuer.
- string
- URL pointing to an authorization endpoint under this issuer.
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Token []stringSigning Alg Values Supporteds - JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID token to encode the claims in a JWT [JWT].
- Issuer string
- URL using the https scheme with no query or fragment components that the OP asserts as its issuer identifier.
- Jwks
Uri string - URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
- Resource
Name string - Response
Types []stringSupporteds - JSON array containing a list of the OAuth 2.0 responseType values that this OP supports.
- Subject
Types []stringSupporteds - JSON array containing a list of the subject identifier types that this OP supports.
- Token
Endpoint string - URL pointing to a token endpoint under this issuer.
- string
- URL pointing to an authorization endpoint under this issuer.
- id string
- The provider-assigned unique ID for this managed resource.
- id_
token_ list(string)signing_ alg_ values_ supporteds - JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID token to encode the claims in a JWT [JWT].
- issuer string
- URL using the https scheme with no query or fragment components that the OP asserts as its issuer identifier.
- jwks_
uri string - URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
- resource_
name string - response_
types_ list(string)supporteds - JSON array containing a list of the OAuth 2.0 responseType values that this OP supports.
- subject_
types_ list(string)supporteds - JSON array containing a list of the subject identifier types that this OP supports.
- token_
endpoint string - URL pointing to a token endpoint under this issuer.
- String
- URL pointing to an authorization endpoint under this issuer.
- id String
- The provider-assigned unique ID for this managed resource.
- id
Token List<String>Signing Alg Values Supporteds - JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID token to encode the claims in a JWT [JWT].
- issuer String
- URL using the https scheme with no query or fragment components that the OP asserts as its issuer identifier.
- jwks
Uri String - URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
- resource
Name String - response
Types List<String>Supporteds - JSON array containing a list of the OAuth 2.0 responseType values that this OP supports.
- subject
Types List<String>Supporteds - JSON array containing a list of the subject identifier types that this OP supports.
- token
Endpoint String - URL pointing to a token endpoint under this issuer.
- string
- URL pointing to an authorization endpoint under this issuer.
- id string
- The provider-assigned unique ID for this managed resource.
- id
Token string[]Signing Alg Values Supporteds - JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID token to encode the claims in a JWT [JWT].
- issuer string
- URL using the https scheme with no query or fragment components that the OP asserts as its issuer identifier.
- jwks
Uri string - URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
- resource
Name string - response
Types string[]Supporteds - JSON array containing a list of the OAuth 2.0 responseType values that this OP supports.
- subject
Types string[]Supporteds - JSON array containing a list of the subject identifier types that this OP supports.
- token
Endpoint string - URL pointing to a token endpoint under this issuer.
- str
- URL pointing to an authorization endpoint under this issuer.
- id str
- The provider-assigned unique ID for this managed resource.
- id_
token_ Sequence[str]signing_ alg_ values_ supporteds - JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID token to encode the claims in a JWT [JWT].
- issuer str
- URL using the https scheme with no query or fragment components that the OP asserts as its issuer identifier.
- jwks_
uri str - URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
- resource_
name str - response_
types_ Sequence[str]supporteds - JSON array containing a list of the OAuth 2.0 responseType values that this OP supports.
- subject_
types_ Sequence[str]supporteds - JSON array containing a list of the subject identifier types that this OP supports.
- token_
endpoint str - URL pointing to a token endpoint under this issuer.
- String
- URL pointing to an authorization endpoint under this issuer.
- id String
- The provider-assigned unique ID for this managed resource.
- id
Token List<String>Signing Alg Values Supporteds - JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID token to encode the claims in a JWT [JWT].
- issuer String
- URL using the https scheme with no query or fragment components that the OP asserts as its issuer identifier.
- jwks
Uri String - URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
- resource
Name String - response
Types List<String>Supporteds - JSON array containing a list of the OAuth 2.0 responseType values that this OP supports.
- subject
Types List<String>Supporteds - JSON array containing a list of the subject identifier types that this OP supports.
- token
Endpoint String - URL pointing to a token endpoint under this issuer.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v9.36.1
published on Thursday, Sep 3, 2026 by Pulumi
published on Thursday, Sep 3, 2026 by Pulumi