1. Registry
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. agentidentity
  6. AuthProvider
Viewing docs for Google Cloud v9.34.0
published on Monday, Aug 10, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.34.0
published on Monday, Aug 10, 2026 by Pulumi

    An AuthProvider resource in Agent Identity to manage cloud authentication delegation.

    Note: All arguments marked as write-only values will not be stored in the state: auth_provider_type_params.three_legged_oauth.client_secret_wo, auth_provider_type_params.two_legged_oauth.client_secret_wo. Read more about Write-only Arguments.

    Example Usage

    Agent Identity Auth Provider Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.agentidentity.AuthProvider("default", {
        location: "us-central1",
        authProviderId: "example-provider",
        authProviderTypeParams: {
            apiKey: {
                apiKey: "test-api-key-value",
            },
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.agentidentity.AuthProvider("default",
        location="us-central1",
        auth_provider_id="example-provider",
        auth_provider_type_params={
            "api_key": {
                "api_key": "test-api-key-value",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/agentidentity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := agentidentity.NewAuthProvider(ctx, "default", &agentidentity.AuthProviderArgs{
    			Location:       pulumi.String("us-central1"),
    			AuthProviderId: pulumi.String("example-provider"),
    			AuthProviderTypeParams: &agentidentity.AuthProviderAuthProviderTypeParamsArgs{
    				ApiKey: &agentidentity.AuthProviderAuthProviderTypeParamsApiKeyArgs{
    					ApiKey: pulumi.String("test-api-key-value"),
    				},
    			},
    		})
    		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 @default = new Gcp.AgentIdentity.AuthProvider("default", new()
        {
            Location = "us-central1",
            AuthProviderId = "example-provider",
            AuthProviderTypeParams = new Gcp.AgentIdentity.Inputs.AuthProviderAuthProviderTypeParamsArgs
            {
                ApiKey = new Gcp.AgentIdentity.Inputs.AuthProviderAuthProviderTypeParamsApiKeyArgs
                {
                    ApiKey = "test-api-key-value",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.agentidentity.AuthProvider;
    import com.pulumi.gcp.agentidentity.AuthProviderArgs;
    import com.pulumi.gcp.agentidentity.inputs.AuthProviderAuthProviderTypeParamsArgs;
    import com.pulumi.gcp.agentidentity.inputs.AuthProviderAuthProviderTypeParamsApiKeyArgs;
    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) {
            var default_ = new AuthProvider("default", AuthProviderArgs.builder()
                .location("us-central1")
                .authProviderId("example-provider")
                .authProviderTypeParams(AuthProviderAuthProviderTypeParamsArgs.builder()
                    .apiKey(AuthProviderAuthProviderTypeParamsApiKeyArgs.builder()
                        .apiKey("test-api-key-value")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:agentidentity:AuthProvider
        properties:
          location: us-central1
          authProviderId: example-provider
          authProviderTypeParams:
            apiKey:
              apiKey: test-api-key-value
    
    pulumi {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_agentidentity_authprovider" "default" {
      location         = "us-central1"
      auth_provider_id = "example-provider"
      auth_provider_type_params = {
        api_key = {
          api_key = "test-api-key-value"
        }
      }
    }
    

    Create AuthProvider Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AuthProvider(name: string, args: AuthProviderArgs, opts?: CustomResourceOptions);
    @overload
    def AuthProvider(resource_name: str,
                     args: AuthProviderArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuthProvider(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     auth_provider_id: Optional[str] = None,
                     auth_provider_type_params: Optional[AuthProviderAuthProviderTypeParamsArgs] = None,
                     location: Optional[str] = None,
                     allowed_scopes: Optional[Sequence[str]] = None,
                     blocked_scopes: Optional[Sequence[str]] = None,
                     deletion_policy: Optional[str] = None,
                     description: Optional[str] = None,
                     labels: Optional[Mapping[str, str]] = None,
                     project: Optional[str] = None,
                     workload_ids: Optional[Sequence[str]] = None)
    func NewAuthProvider(ctx *Context, name string, args AuthProviderArgs, opts ...ResourceOption) (*AuthProvider, error)
    public AuthProvider(string name, AuthProviderArgs args, CustomResourceOptions? opts = null)
    public AuthProvider(String name, AuthProviderArgs args)
    public AuthProvider(String name, AuthProviderArgs args, CustomResourceOptions options)
    
    type: gcp:agentidentity:AuthProvider
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_agentidentity_auth_provider" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AuthProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AuthProviderArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AuthProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var authProviderResource = new Gcp.AgentIdentity.AuthProvider("authProviderResource", new()
    {
        AuthProviderId = "string",
        AuthProviderTypeParams = new Gcp.AgentIdentity.Inputs.AuthProviderAuthProviderTypeParamsArgs
        {
            ApiKey = new Gcp.AgentIdentity.Inputs.AuthProviderAuthProviderTypeParamsApiKeyArgs
            {
                ApiKey = "string",
            },
            GeAuthProviders = new[]
            {
                null,
            },
            ThreeLeggedOauth = new Gcp.AgentIdentity.Inputs.AuthProviderAuthProviderTypeParamsThreeLeggedOauthArgs
            {
                AuthorizationUrl = "string",
                ClientId = "string",
                ClientSecret = "string",
                ClientSecretWo = "string",
                ClientSecretWoVersion = "string",
                DefaultContinueUri = "string",
                EnablePkce = false,
                RedirectUrl = "string",
                TokenUrl = "string",
            },
            TwoLeggedOauth = new Gcp.AgentIdentity.Inputs.AuthProviderAuthProviderTypeParamsTwoLeggedOauthArgs
            {
                ClientId = "string",
                ClientSecret = "string",
                ClientSecretWo = "string",
                ClientSecretWoVersion = "string",
                TokenUrl = "string",
            },
        },
        Location = "string",
        AllowedScopes = new[]
        {
            "string",
        },
        BlockedScopes = new[]
        {
            "string",
        },
        DeletionPolicy = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Project = "string",
        WorkloadIds = new[]
        {
            "string",
        },
    });
    
    example, err := agentidentity.NewAuthProvider(ctx, "authProviderResource", &agentidentity.AuthProviderArgs{
    	AuthProviderId: pulumi.String("string"),
    	AuthProviderTypeParams: &agentidentity.AuthProviderAuthProviderTypeParamsArgs{
    		ApiKey: &agentidentity.AuthProviderAuthProviderTypeParamsApiKeyArgs{
    			ApiKey: pulumi.String("string"),
    		},
    		GeAuthProviders: agentidentity.AuthProviderAuthProviderTypeParamsGeAuthProviderArray{
    			&agentidentity.AuthProviderAuthProviderTypeParamsGeAuthProviderArgs{},
    		},
    		ThreeLeggedOauth: &agentidentity.AuthProviderAuthProviderTypeParamsThreeLeggedOauthArgs{
    			AuthorizationUrl:      pulumi.String("string"),
    			ClientId:              pulumi.String("string"),
    			ClientSecret:          pulumi.String("string"),
    			ClientSecretWo:        pulumi.String("string"),
    			ClientSecretWoVersion: pulumi.String("string"),
    			DefaultContinueUri:    pulumi.String("string"),
    			EnablePkce:            pulumi.Bool(false),
    			RedirectUrl:           pulumi.String("string"),
    			TokenUrl:              pulumi.String("string"),
    		},
    		TwoLeggedOauth: &agentidentity.AuthProviderAuthProviderTypeParamsTwoLeggedOauthArgs{
    			ClientId:              pulumi.String("string"),
    			ClientSecret:          pulumi.String("string"),
    			ClientSecretWo:        pulumi.String("string"),
    			ClientSecretWoVersion: pulumi.String("string"),
    			TokenUrl:              pulumi.String("string"),
    		},
    	},
    	Location: pulumi.String("string"),
    	AllowedScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BlockedScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DeletionPolicy: pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Project: pulumi.String("string"),
    	WorkloadIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "gcp_agentidentity_auth_provider" "authProviderResource" {
      lifecycle {
        create_before_destroy = true
      }
      auth_provider_id = "string"
      auth_provider_type_params = {
        api_key = {
          api_key = "string"
        }
        ge_auth_providers = [{}]
        three_legged_oauth = {
          authorization_url        = "string"
          client_id                = "string"
          client_secret            = "string"
          client_secret_wo         = "string"
          client_secret_wo_version = "string"
          default_continue_uri     = "string"
          enable_pkce              = false
          redirect_url             = "string"
          token_url                = "string"
        }
        two_legged_oauth = {
          client_id                = "string"
          client_secret            = "string"
          client_secret_wo         = "string"
          client_secret_wo_version = "string"
          token_url                = "string"
        }
      }
      location        = "string"
      allowed_scopes  = ["string"]
      blocked_scopes  = ["string"]
      deletion_policy = "string"
      description     = "string"
      labels = {
        "string" = "string"
      }
      project      = "string"
      workload_ids = ["string"]
    }
    
    var authProviderResource = new AuthProvider("authProviderResource", AuthProviderArgs.builder()
        .authProviderId("string")
        .authProviderTypeParams(AuthProviderAuthProviderTypeParamsArgs.builder()
            .apiKey(AuthProviderAuthProviderTypeParamsApiKeyArgs.builder()
                .apiKey("string")
                .build())
            .geAuthProviders(AuthProviderAuthProviderTypeParamsGeAuthProviderArgs.builder()
                .build())
            .threeLeggedOauth(AuthProviderAuthProviderTypeParamsThreeLeggedOauthArgs.builder()
                .authorizationUrl("string")
                .clientId("string")
                .clientSecret("string")
                .clientSecretWo("string")
                .clientSecretWoVersion("string")
                .defaultContinueUri("string")
                .enablePkce(false)
                .redirectUrl("string")
                .tokenUrl("string")
                .build())
            .twoLeggedOauth(AuthProviderAuthProviderTypeParamsTwoLeggedOauthArgs.builder()
                .clientId("string")
                .clientSecret("string")
                .clientSecretWo("string")
                .clientSecretWoVersion("string")
                .tokenUrl("string")
                .build())
            .build())
        .location("string")
        .allowedScopes("string")
        .blockedScopes("string")
        .deletionPolicy("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .project("string")
        .workloadIds("string")
        .build());
    
    auth_provider_resource = gcp.agentidentity.AuthProvider("authProviderResource",
        auth_provider_id="string",
        auth_provider_type_params={
            "api_key": {
                "api_key": "string",
            },
            "ge_auth_providers": [{}],
            "three_legged_oauth": {
                "authorization_url": "string",
                "client_id": "string",
                "client_secret": "string",
                "client_secret_wo": "string",
                "client_secret_wo_version": "string",
                "default_continue_uri": "string",
                "enable_pkce": False,
                "redirect_url": "string",
                "token_url": "string",
            },
            "two_legged_oauth": {
                "client_id": "string",
                "client_secret": "string",
                "client_secret_wo": "string",
                "client_secret_wo_version": "string",
                "token_url": "string",
            },
        },
        location="string",
        allowed_scopes=["string"],
        blocked_scopes=["string"],
        deletion_policy="string",
        description="string",
        labels={
            "string": "string",
        },
        project="string",
        workload_ids=["string"])
    
    const authProviderResource = new gcp.agentidentity.AuthProvider("authProviderResource", {
        authProviderId: "string",
        authProviderTypeParams: {
            apiKey: {
                apiKey: "string",
            },
            geAuthProviders: [{}],
            threeLeggedOauth: {
                authorizationUrl: "string",
                clientId: "string",
                clientSecret: "string",
                clientSecretWo: "string",
                clientSecretWoVersion: "string",
                defaultContinueUri: "string",
                enablePkce: false,
                redirectUrl: "string",
                tokenUrl: "string",
            },
            twoLeggedOauth: {
                clientId: "string",
                clientSecret: "string",
                clientSecretWo: "string",
                clientSecretWoVersion: "string",
                tokenUrl: "string",
            },
        },
        location: "string",
        allowedScopes: ["string"],
        blockedScopes: ["string"],
        deletionPolicy: "string",
        description: "string",
        labels: {
            string: "string",
        },
        project: "string",
        workloadIds: ["string"],
    });
    
    type: gcp:agentidentity:AuthProvider
    properties:
        allowedScopes:
            - string
        authProviderId: string
        authProviderTypeParams:
            apiKey:
                apiKey: string
            geAuthProviders:
                - {}
            threeLeggedOauth:
                authorizationUrl: string
                clientId: string
                clientSecret: string
                clientSecretWo: string
                clientSecretWoVersion: string
                defaultContinueUri: string
                enablePkce: false
                redirectUrl: string
                tokenUrl: string
            twoLeggedOauth:
                clientId: string
                clientSecret: string
                clientSecretWo: string
                clientSecretWoVersion: string
                tokenUrl: string
        blockedScopes:
            - string
        deletionPolicy: string
        description: string
        labels:
            string: string
        location: string
        project: string
        workloadIds:
            - string
    

    AuthProvider Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AuthProvider resource accepts the following input properties:

    AuthProviderId string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    AuthProviderTypeParams AuthProviderAuthProviderTypeParams
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    AllowedScopes List<string>
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    BlockedScopes List<string>
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Description of the resource. Must be less than 256 characters.
    Labels Dictionary<string, string>
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    WorkloadIds List<string>
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    AuthProviderId string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    AuthProviderTypeParams AuthProviderAuthProviderTypeParamsArgs
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    AllowedScopes []string
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    BlockedScopes []string
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Description of the resource. Must be less than 256 characters.
    Labels map[string]string
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    WorkloadIds []string
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    auth_provider_id string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    auth_provider_type_params object
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    allowed_scopes list(string)
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    blocked_scopes list(string)
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Description of the resource. Must be less than 256 characters.
    labels map(string)
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    workload_ids list(string)
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    authProviderId String
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    authProviderTypeParams AuthProviderAuthProviderTypeParams
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    allowedScopes List<String>
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    blockedScopes List<String>
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Description of the resource. Must be less than 256 characters.
    labels Map<String,String>
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    workloadIds List<String>
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    authProviderId string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    authProviderTypeParams AuthProviderAuthProviderTypeParams
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    allowedScopes string[]
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    blockedScopes string[]
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Description of the resource. Must be less than 256 characters.
    labels {[key: string]: string}
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    workloadIds string[]
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    auth_provider_id str
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    auth_provider_type_params AuthProviderAuthProviderTypeParamsArgs
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    allowed_scopes Sequence[str]
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    blocked_scopes Sequence[str]
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description str
    Description of the resource. Must be less than 256 characters.
    labels Mapping[str, str]
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    workload_ids Sequence[str]
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    authProviderId String
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    authProviderTypeParams Property Map
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    allowedScopes List<String>
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    blockedScopes List<String>
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Description of the resource. Must be less than 256 characters.
    labels Map<String>
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    workloadIds List<String>
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AuthProvider resource produces the following output properties:

    CreateTime string
    [Output only] Create time stamp
    Deleted bool
    This is set to true if the authProvider is deleted.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    ExpireTime string
    The time when the authProvider will expire.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    UpdateTime string
    [Output only] Update time stamp
    CreateTime string
    [Output only] Create time stamp
    Deleted bool
    This is set to true if the authProvider is deleted.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    ExpireTime string
    The time when the authProvider will expire.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    UpdateTime string
    [Output only] Update time stamp
    create_time string
    [Output only] Create time stamp
    deleted bool
    This is set to true if the authProvider is deleted.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expire_time string
    The time when the authProvider will expire.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    update_time string
    [Output only] Update time stamp
    createTime String
    [Output only] Create time stamp
    deleted Boolean
    This is set to true if the authProvider is deleted.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expireTime String
    The time when the authProvider will expire.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The state of the auth_provider. Possible values: ENABLED DISABLED
    updateTime String
    [Output only] Update time stamp
    createTime string
    [Output only] Create time stamp
    deleted boolean
    This is set to true if the authProvider is deleted.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expireTime string
    The time when the authProvider will expire.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    updateTime string
    [Output only] Update time stamp
    create_time str
    [Output only] Create time stamp
    deleted bool
    This is set to true if the authProvider is deleted.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expire_time str
    The time when the authProvider will expire.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state str
    The state of the auth_provider. Possible values: ENABLED DISABLED
    update_time str
    [Output only] Update time stamp
    createTime String
    [Output only] Create time stamp
    deleted Boolean
    This is set to true if the authProvider is deleted.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expireTime String
    The time when the authProvider will expire.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The state of the auth_provider. Possible values: ENABLED DISABLED
    updateTime String
    [Output only] Update time stamp

    Look up Existing AuthProvider Resource

    Get an existing AuthProvider resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AuthProviderState, opts?: CustomResourceOptions): AuthProvider
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_scopes: Optional[Sequence[str]] = None,
            auth_provider_id: Optional[str] = None,
            auth_provider_type_params: Optional[AuthProviderAuthProviderTypeParamsArgs] = None,
            blocked_scopes: Optional[Sequence[str]] = None,
            create_time: Optional[str] = None,
            deleted: Optional[bool] = None,
            deletion_policy: Optional[str] = None,
            description: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            expire_time: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            update_time: Optional[str] = None,
            workload_ids: Optional[Sequence[str]] = None) -> AuthProvider
    func GetAuthProvider(ctx *Context, name string, id IDInput, state *AuthProviderState, opts ...ResourceOption) (*AuthProvider, error)
    public static AuthProvider Get(string name, Input<string> id, AuthProviderState? state, CustomResourceOptions? opts = null)
    public static AuthProvider get(String name, Output<String> id, AuthProviderState state, CustomResourceOptions options)
    resources:  _:    type: gcp:agentidentity:AuthProvider    get:      id: ${id}
    import {
      to = gcp_agentidentity_auth_provider.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllowedScopes List<string>
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    AuthProviderId string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    AuthProviderTypeParams AuthProviderAuthProviderTypeParams
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    BlockedScopes List<string>
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    CreateTime string
    [Output only] Create time stamp
    Deleted bool
    This is set to true if the authProvider is deleted.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Description of the resource. Must be less than 256 characters.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    ExpireTime string
    The time when the authProvider will expire.
    Labels Dictionary<string, string>
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    UpdateTime string
    [Output only] Update time stamp
    WorkloadIds List<string>
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    AllowedScopes []string
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    AuthProviderId string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    AuthProviderTypeParams AuthProviderAuthProviderTypeParamsArgs
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    BlockedScopes []string
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    CreateTime string
    [Output only] Create time stamp
    Deleted bool
    This is set to true if the authProvider is deleted.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Description of the resource. Must be less than 256 characters.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    ExpireTime string
    The time when the authProvider will expire.
    Labels map[string]string
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    UpdateTime string
    [Output only] Update time stamp
    WorkloadIds []string
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    allowed_scopes list(string)
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    auth_provider_id string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    auth_provider_type_params object
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    blocked_scopes list(string)
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    create_time string
    [Output only] Create time stamp
    deleted bool
    This is set to true if the authProvider is deleted.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Description of the resource. Must be less than 256 characters.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expire_time string
    The time when the authProvider will expire.
    labels map(string)
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    update_time string
    [Output only] Update time stamp
    workload_ids list(string)
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    allowedScopes List<String>
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    authProviderId String
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    authProviderTypeParams AuthProviderAuthProviderTypeParams
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    blockedScopes List<String>
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    createTime String
    [Output only] Create time stamp
    deleted Boolean
    This is set to true if the authProvider is deleted.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Description of the resource. Must be less than 256 characters.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expireTime String
    The time when the authProvider will expire.
    labels Map<String,String>
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The state of the auth_provider. Possible values: ENABLED DISABLED
    updateTime String
    [Output only] Update time stamp
    workloadIds List<String>
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    allowedScopes string[]
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    authProviderId string
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    authProviderTypeParams AuthProviderAuthProviderTypeParams
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    blockedScopes string[]
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    createTime string
    [Output only] Create time stamp
    deleted boolean
    This is set to true if the authProvider is deleted.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Description of the resource. Must be less than 256 characters.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expireTime string
    The time when the authProvider will expire.
    labels {[key: string]: string}
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name string
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    The state of the auth_provider. Possible values: ENABLED DISABLED
    updateTime string
    [Output only] Update time stamp
    workloadIds string[]
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    allowed_scopes Sequence[str]
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    auth_provider_id str
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    auth_provider_type_params AuthProviderAuthProviderTypeParamsArgs
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    blocked_scopes Sequence[str]
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    create_time str
    [Output only] Create time stamp
    deleted bool
    This is set to true if the authProvider is deleted.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description str
    Description of the resource. Must be less than 256 characters.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expire_time str
    The time when the authProvider will expire.
    labels Mapping[str, str]
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name str
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state str
    The state of the auth_provider. Possible values: ENABLED DISABLED
    update_time str
    [Output only] Update time stamp
    workload_ids Sequence[str]
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}
    allowedScopes List<String>
    List of scopes that are allowed to be requested for this auth_provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in blockedScopes are disallowed even if they appear in allowedScopes. The number of allowed scopes is limited to 200.
    authProviderId String
    The ID to use for the AuthProvider, which will become the final segment of the AuthProvider's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number.
    authProviderTypeParams Property Map
    AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
    blockedScopes List<String>
    List of scopes that are blocked from being requested for this auth_provider. If a scope appears in this list, it will not be requested, even if it also appears in allowedScopes. blockedScopes takes precedence over allowedScopes. The number of blocked scopes is limited to 200.
    createTime String
    [Output only] Create time stamp
    deleted Boolean
    This is set to true if the authProvider is deleted.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Description of the resource. Must be less than 256 characters.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    expireTime String
    The time when the authProvider will expire.
    labels Map<String>
    Labels as key value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. The full resource name of the auth_provider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The state of the auth_provider. Possible values: ENABLED DISABLED
    updateTime String
    [Output only] Update time stamp
    workloadIds List<String>
    Input only. Represents the workload identity in IAM principal:// format of the agent(s) that will use this AuthProvider. Example: principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}

    Supporting Types

    AuthProviderAuthProviderTypeParams, AuthProviderAuthProviderTypeParamsArgs

    ApiKey AuthProviderAuthProviderTypeParamsApiKey
    Message describing ApiKeyParams object. Structure is documented below.
    GeAuthProviders List<AuthProviderAuthProviderTypeParamsGeAuthProvider>
    (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
    ThreeLeggedOauth AuthProviderAuthProviderTypeParamsThreeLeggedOauth
    Message describing ThreeLeggedOAuth object. Structure is documented below.
    TwoLeggedOauth AuthProviderAuthProviderTypeParamsTwoLeggedOauth
    Message describing TwoLeggedOAuth object. Structure is documented below.
    ApiKey AuthProviderAuthProviderTypeParamsApiKey
    Message describing ApiKeyParams object. Structure is documented below.
    GeAuthProviders []AuthProviderAuthProviderTypeParamsGeAuthProvider
    (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
    ThreeLeggedOauth AuthProviderAuthProviderTypeParamsThreeLeggedOauth
    Message describing ThreeLeggedOAuth object. Structure is documented below.
    TwoLeggedOauth AuthProviderAuthProviderTypeParamsTwoLeggedOauth
    Message describing TwoLeggedOAuth object. Structure is documented below.
    api_key object
    Message describing ApiKeyParams object. Structure is documented below.
    ge_auth_providers list(object)
    (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
    three_legged_oauth object
    Message describing ThreeLeggedOAuth object. Structure is documented below.
    two_legged_oauth object
    Message describing TwoLeggedOAuth object. Structure is documented below.
    apiKey AuthProviderAuthProviderTypeParamsApiKey
    Message describing ApiKeyParams object. Structure is documented below.
    geAuthProviders List<AuthProviderAuthProviderTypeParamsGeAuthProvider>
    (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
    threeLeggedOauth AuthProviderAuthProviderTypeParamsThreeLeggedOauth
    Message describing ThreeLeggedOAuth object. Structure is documented below.
    twoLeggedOauth AuthProviderAuthProviderTypeParamsTwoLeggedOauth
    Message describing TwoLeggedOAuth object. Structure is documented below.
    apiKey AuthProviderAuthProviderTypeParamsApiKey
    Message describing ApiKeyParams object. Structure is documented below.
    geAuthProviders AuthProviderAuthProviderTypeParamsGeAuthProvider[]
    (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
    threeLeggedOauth AuthProviderAuthProviderTypeParamsThreeLeggedOauth
    Message describing ThreeLeggedOAuth object. Structure is documented below.
    twoLeggedOauth AuthProviderAuthProviderTypeParamsTwoLeggedOauth
    Message describing TwoLeggedOAuth object. Structure is documented below.
    api_key AuthProviderAuthProviderTypeParamsApiKey
    Message describing ApiKeyParams object. Structure is documented below.
    ge_auth_providers Sequence[AuthProviderAuthProviderTypeParamsGeAuthProvider]
    (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
    three_legged_oauth AuthProviderAuthProviderTypeParamsThreeLeggedOauth
    Message describing ThreeLeggedOAuth object. Structure is documented below.
    two_legged_oauth AuthProviderAuthProviderTypeParamsTwoLeggedOauth
    Message describing TwoLeggedOAuth object. Structure is documented below.
    apiKey Property Map
    Message describing ApiKeyParams object. Structure is documented below.
    geAuthProviders List<Property Map>
    (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
    threeLeggedOauth Property Map
    Message describing ThreeLeggedOAuth object. Structure is documented below.
    twoLeggedOauth Property Map
    Message describing TwoLeggedOAuth object. Structure is documented below.

    AuthProviderAuthProviderTypeParamsApiKey, AuthProviderAuthProviderTypeParamsApiKeyArgs

    ApiKey string
    Input only. The API key for this auth_provider. Note: This property is sensitive and will not be displayed in the plan.
    ApiKey string
    Input only. The API key for this auth_provider. Note: This property is sensitive and will not be displayed in the plan.
    api_key string
    Input only. The API key for this auth_provider. Note: This property is sensitive and will not be displayed in the plan.
    apiKey String
    Input only. The API key for this auth_provider. Note: This property is sensitive and will not be displayed in the plan.
    apiKey string
    Input only. The API key for this auth_provider. Note: This property is sensitive and will not be displayed in the plan.
    api_key str
    Input only. The API key for this auth_provider. Note: This property is sensitive and will not be displayed in the plan.
    apiKey String
    Input only. The API key for this auth_provider. Note: This property is sensitive and will not be displayed in the plan.

    AuthProviderAuthProviderTypeParamsThreeLeggedOauth, AuthProviderAuthProviderTypeParamsThreeLeggedOauthArgs

    AuthorizationUrl string
    The authorization endpoint to send users to for consenting to delegate to the agent. eg. "https://auth.atlassian.com/authorize"
    ClientId string
    The client ID of the OAuth client.
    ClientSecret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    ClientSecretWo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    ClientSecretWoVersion string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    DefaultContinueUri string
    The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
    EnablePkce bool
    Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks.
    RedirectUrl string
    (Output) The redirect URL this authProvider uses for the OAuth exchange. This is deterministic based on the name of the auth_provider.
    TokenUrl string
    The token endpoint for requesting tokens on behalf of an end user. eg. "https://auth.atlassian.com/oauth/token"
    AuthorizationUrl string
    The authorization endpoint to send users to for consenting to delegate to the agent. eg. "https://auth.atlassian.com/authorize"
    ClientId string
    The client ID of the OAuth client.
    ClientSecret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    ClientSecretWo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    ClientSecretWoVersion string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    DefaultContinueUri string
    The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
    EnablePkce bool
    Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks.
    RedirectUrl string
    (Output) The redirect URL this authProvider uses for the OAuth exchange. This is deterministic based on the name of the auth_provider.
    TokenUrl string
    The token endpoint for requesting tokens on behalf of an end user. eg. "https://auth.atlassian.com/oauth/token"
    authorization_url string
    The authorization endpoint to send users to for consenting to delegate to the agent. eg. "https://auth.atlassian.com/authorize"
    client_id string
    The client ID of the OAuth client.
    client_secret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    client_secret_wo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    client_secret_wo_version string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    default_continue_uri string
    The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
    enable_pkce bool
    Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks.
    redirect_url string
    (Output) The redirect URL this authProvider uses for the OAuth exchange. This is deterministic based on the name of the auth_provider.
    token_url string
    The token endpoint for requesting tokens on behalf of an end user. eg. "https://auth.atlassian.com/oauth/token"
    authorizationUrl String
    The authorization endpoint to send users to for consenting to delegate to the agent. eg. "https://auth.atlassian.com/authorize"
    clientId String
    The client ID of the OAuth client.
    clientSecret String
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    clientSecretWo String

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    clientSecretWoVersion String
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    defaultContinueUri String
    The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
    enablePkce Boolean
    Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks.
    redirectUrl String
    (Output) The redirect URL this authProvider uses for the OAuth exchange. This is deterministic based on the name of the auth_provider.
    tokenUrl String
    The token endpoint for requesting tokens on behalf of an end user. eg. "https://auth.atlassian.com/oauth/token"
    authorizationUrl string
    The authorization endpoint to send users to for consenting to delegate to the agent. eg. "https://auth.atlassian.com/authorize"
    clientId string
    The client ID of the OAuth client.
    clientSecret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    clientSecretWo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    clientSecretWoVersion string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    defaultContinueUri string
    The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
    enablePkce boolean
    Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks.
    redirectUrl string
    (Output) The redirect URL this authProvider uses for the OAuth exchange. This is deterministic based on the name of the auth_provider.
    tokenUrl string
    The token endpoint for requesting tokens on behalf of an end user. eg. "https://auth.atlassian.com/oauth/token"
    authorization_url str
    The authorization endpoint to send users to for consenting to delegate to the agent. eg. "https://auth.atlassian.com/authorize"
    client_id str
    The client ID of the OAuth client.
    client_secret str
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    client_secret_wo str

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    client_secret_wo_version str
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    default_continue_uri str
    The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
    enable_pkce bool
    Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks.
    redirect_url str
    (Output) The redirect URL this authProvider uses for the OAuth exchange. This is deterministic based on the name of the auth_provider.
    token_url str
    The token endpoint for requesting tokens on behalf of an end user. eg. "https://auth.atlassian.com/oauth/token"
    authorizationUrl String
    The authorization endpoint to send users to for consenting to delegate to the agent. eg. "https://auth.atlassian.com/authorize"
    clientId String
    The client ID of the OAuth client.
    clientSecret String
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    clientSecretWo String

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    clientSecretWoVersion String
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    defaultContinueUri String
    The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
    enablePkce Boolean
    Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks.
    redirectUrl String
    (Output) The redirect URL this authProvider uses for the OAuth exchange. This is deterministic based on the name of the auth_provider.
    tokenUrl String
    The token endpoint for requesting tokens on behalf of an end user. eg. "https://auth.atlassian.com/oauth/token"

    AuthProviderAuthProviderTypeParamsTwoLeggedOauth, AuthProviderAuthProviderTypeParamsTwoLeggedOauthArgs

    ClientId string
    The client ID of the OAuth client.
    ClientSecret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    ClientSecretWo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    ClientSecretWoVersion string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    TokenUrl string
    The token endpoint of the OAuth client.
    ClientId string
    The client ID of the OAuth client.
    ClientSecret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    ClientSecretWo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    ClientSecretWoVersion string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    TokenUrl string
    The token endpoint of the OAuth client.
    client_id string
    The client ID of the OAuth client.
    client_secret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    client_secret_wo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    client_secret_wo_version string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    token_url string
    The token endpoint of the OAuth client.
    clientId String
    The client ID of the OAuth client.
    clientSecret String
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    clientSecretWo String

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    clientSecretWoVersion String
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    tokenUrl String
    The token endpoint of the OAuth client.
    clientId string
    The client ID of the OAuth client.
    clientSecret string
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    clientSecretWo string

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    clientSecretWoVersion string
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    tokenUrl string
    The token endpoint of the OAuth client.
    client_id str
    The client ID of the OAuth client.
    client_secret str
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    client_secret_wo str

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    client_secret_wo_version str
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    token_url str
    The token endpoint of the OAuth client.
    clientId String
    The client ID of the OAuth client.
    clientSecret String
    Input only. The client secret of the OAuth client. Note: This property is sensitive and will not be displayed in the plan.
    clientSecretWo String

    NOTE: This field is write-only and its value will not be updated in state as part of read operations. (Optional, Write-Only) Input only. The client secret of the OAuth client. Note: This property is write-only and will not be read from the API.

    Note: One of clientSecret or clientSecretWo can only be set.

    clientSecretWoVersion String
    Triggers update of clientSecretWo write-only. Increment this value when an update to clientSecretWo is needed. For more info see updating write-only arguments
    tokenUrl String
    The token endpoint of the OAuth client.

    Import

    AuthProvider can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/authProviders/{{auth_provider_id}}
    • {{project}}/{{location}}/{{auth_provider_id}}
    • {{location}}/{{auth_provider_id}}

    When using the pulumi import command, AuthProvider can be imported using one of the formats above. For example:

    $ pulumi import gcp:agentidentity/authProvider:AuthProvider default projects/{{project}}/locations/{{location}}/authProviders/{{auth_provider_id}}
    $ pulumi import gcp:agentidentity/authProvider:AuthProvider default {{project}}/{{location}}/{{auth_provider_id}}
    $ pulumi import gcp:agentidentity/authProvider:AuthProvider default {{location}}/{{auth_provider_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.34.0
    published on Monday, Aug 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial