published on Monday, Aug 10, 2026 by Pulumi
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:
- Auth
Provider stringId - 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 AuthType Params Provider Auth Provider Type Params - 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
blockedScopesare disallowed even if they appear inallowedScopes. 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.blockedScopestakes precedence overallowedScopes. 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 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
effectiveLabelsfor 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}
- Auth
Provider stringId - 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 AuthType Params Provider Auth Provider Type Params Args - 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 []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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - Blocked
Scopes []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.blockedScopestakes precedence overallowedScopes. 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]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
effectiveLabelsfor 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 []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_ stringid - 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_ objecttype_ params - 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
blockedScopesare disallowed even if they appear inallowedScopes. 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.blockedScopestakes precedence overallowedScopes. 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
effectiveLabelsfor 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}
- auth
Provider StringId - 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 AuthType Params Provider Auth Provider Type Params - 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
blockedScopesare disallowed even if they appear inallowedScopes. 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.blockedScopestakes precedence overallowedScopes. 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,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
effectiveLabelsfor 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}
- auth
Provider stringId - 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 AuthType Params Provider Auth Provider Type Params - 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 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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - blocked
Scopes 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.blockedScopestakes precedence overallowedScopes. 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 {[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
effectiveLabelsfor 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 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_ strid - 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_ Authtype_ params Provider Auth Provider Type Params Args - 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
blockedScopesare disallowed even if they appear inallowedScopes. 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.blockedScopestakes precedence overallowedScopes. 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
effectiveLabelsfor 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}
- auth
Provider StringId - 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 Property MapType Params - 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
blockedScopesare disallowed even if they appear inallowedScopes. 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.blockedScopestakes precedence overallowedScopes. 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
effectiveLabelsfor 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}
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthProvider resource produces the following output properties:
- Create
Time string - [Output only] Create time stamp
- Deleted bool
- This is set to true if the authProvider is deleted.
- Effective
Labels 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.
- 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 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
- Update
Time 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]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]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
- 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
- create
Time String - [Output only] Create time stamp
- deleted Boolean
- This is set to true if the authProvider is deleted.
- effective
Labels 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.
- 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,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
- create
Time string - [Output only] Create time stamp
- deleted boolean
- This is set to true if the authProvider is deleted.
- effective
Labels {[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.
- 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 {[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
- update
Time 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
- create
Time String - [Output only] Create time stamp
- deleted Boolean
- 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
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) -> AuthProviderfunc 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.
- 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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - Auth
Provider stringId - 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 AuthType Params Provider Auth Provider Type Params - 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.blockedScopestakes precedence overallowedScopes. 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 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.
- Expire
Time 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
effectiveLabelsfor 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 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
- 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}
- Allowed
Scopes []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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - Auth
Provider stringId - 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 AuthType Params Provider Auth Provider Type Params Args - AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
- Blocked
Scopes []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.blockedScopestakes precedence overallowedScopes. 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]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]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
effectiveLabelsfor 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]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 []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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - auth_
provider_ stringid - 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_ objecttype_ params - 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.blockedScopestakes precedence overallowedScopes. 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
effectiveLabelsfor 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}
- 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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - auth
Provider StringId - 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 AuthType Params Provider Auth Provider Type Params - 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.blockedScopestakes precedence overallowedScopes. The number of blocked scopes is limited to 200. - create
Time String - [Output only] Create time stamp
- deleted Boolean
- 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,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,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
effectiveLabelsfor 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,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}
- allowed
Scopes 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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - auth
Provider stringId - 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 AuthType Params Provider Auth Provider Type Params - AuthProvider type specific parameters. Required when creating an auth_provider. Structure is documented below.
- blocked
Scopes 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.blockedScopestakes precedence overallowedScopes. The number of blocked scopes is limited to 200. - create
Time string - [Output only] Create time stamp
- deleted boolean
- 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 {[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.
- expire
Time 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
effectiveLabelsfor 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 {[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
- update
Time string - [Output only] Update time stamp
- workload
Ids 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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - auth_
provider_ strid - 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_ Authtype_ params Provider Auth Provider Type Params Args - 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.blockedScopestakes precedence overallowedScopes. 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
effectiveLabelsfor 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}
- 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
blockedScopesare disallowed even if they appear inallowedScopes. The number of allowed scopes is limited to 200. - auth
Provider StringId - 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 Property MapType Params - 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.blockedScopestakes precedence overallowedScopes. The number of blocked scopes is limited to 200. - create
Time String - [Output only] Create time stamp
- deleted Boolean
- 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
effectiveLabelsfor 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}
Supporting Types
AuthProviderAuthProviderTypeParams, AuthProviderAuthProviderTypeParamsArgs
- Api
Key AuthProvider Auth Provider Type Params Api Key - Message describing ApiKeyParams object. Structure is documented below.
- Ge
Auth List<AuthProviders Provider Auth Provider Type Params Ge Auth Provider> - (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
- Three
Legged AuthOauth Provider Auth Provider Type Params Three Legged Oauth - Message describing ThreeLeggedOAuth object. Structure is documented below.
- Two
Legged AuthOauth Provider Auth Provider Type Params Two Legged Oauth - Message describing TwoLeggedOAuth object. Structure is documented below.
- Api
Key AuthProvider Auth Provider Type Params Api Key - Message describing ApiKeyParams object. Structure is documented below.
- Ge
Auth []AuthProviders Provider Auth Provider Type Params Ge Auth Provider - (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
- Three
Legged AuthOauth Provider Auth Provider Type Params Three Legged Oauth - Message describing ThreeLeggedOAuth object. Structure is documented below.
- Two
Legged AuthOauth Provider Auth Provider Type Params Two Legged Oauth - Message describing TwoLeggedOAuth object. Structure is documented below.
- api_
key object - Message describing ApiKeyParams object. Structure is documented below.
- ge_
auth_ list(object)providers - (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
- three_
legged_ objectoauth - Message describing ThreeLeggedOAuth object. Structure is documented below.
- two_
legged_ objectoauth - Message describing TwoLeggedOAuth object. Structure is documented below.
- api
Key AuthProvider Auth Provider Type Params Api Key - Message describing ApiKeyParams object. Structure is documented below.
- ge
Auth List<AuthProviders Provider Auth Provider Type Params Ge Auth Provider> - (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
- three
Legged AuthOauth Provider Auth Provider Type Params Three Legged Oauth - Message describing ThreeLeggedOAuth object. Structure is documented below.
- two
Legged AuthOauth Provider Auth Provider Type Params Two Legged Oauth - Message describing TwoLeggedOAuth object. Structure is documented below.
- api
Key AuthProvider Auth Provider Type Params Api Key - Message describing ApiKeyParams object. Structure is documented below.
- ge
Auth AuthProviders Provider Auth Provider Type Params Ge Auth Provider[] - (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
- three
Legged AuthOauth Provider Auth Provider Type Params Three Legged Oauth - Message describing ThreeLeggedOAuth object. Structure is documented below.
- two
Legged AuthOauth Provider Auth Provider Type Params Two Legged Oauth - Message describing TwoLeggedOAuth object. Structure is documented below.
- api_
key AuthProvider Auth Provider Type Params Api Key - Message describing ApiKeyParams object. Structure is documented below.
- ge_
auth_ Sequence[Authproviders Provider Auth Provider Type Params Ge Auth Provider] - (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
- three_
legged_ Authoauth Provider Auth Provider Type Params Three Legged Oauth - Message describing ThreeLeggedOAuth object. Structure is documented below.
- two_
legged_ Authoauth Provider Auth Provider Type Params Two Legged Oauth - Message describing TwoLeggedOAuth object. Structure is documented below.
- api
Key Property Map - Message describing ApiKeyParams object. Structure is documented below.
- ge
Auth List<Property Map>Providers - (Output) Message describing GeminiEnterpriseAuthProviderParams object. Since GeminiEnterpriseAuthProviderParams currently takes no subfields, defining this empty block selects the geAuthProvider type.
- three
Legged Property MapOauth - Message describing ThreeLeggedOAuth object. Structure is documented below.
- two
Legged Property MapOauth - Message describing TwoLeggedOAuth object. Structure is documented below.
AuthProviderAuthProviderTypeParamsApiKey, AuthProviderAuthProviderTypeParamsApiKeyArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
AuthProviderAuthProviderTypeParamsThreeLeggedOauth, AuthProviderAuthProviderTypeParamsThreeLeggedOauthArgs
- 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 stringWo 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
clientSecretorclientSecretWocan only be set.- Client
Secret stringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - Default
Continue stringUri - 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"
- 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 stringWo 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
clientSecretorclientSecretWocan only be set.- Client
Secret stringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - Default
Continue stringUri - 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"
- 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_ stringwo 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
clientSecretorclientSecretWocan only be set.- client_
secret_ stringwo_ version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - default_
continue_ stringuri - 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"
- 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 StringWo 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
clientSecretorclientSecretWocan only be set.- client
Secret StringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - default
Continue StringUri - The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
- enable
Pkce Boolean - 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"
- 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 stringWo 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
clientSecretorclientSecretWocan only be set.- client
Secret stringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - default
Continue stringUri - The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
- enable
Pkce boolean - 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"
- 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_ strwo 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
clientSecretorclientSecretWocan only be set.- client_
secret_ strwo_ version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - default_
continue_ struri - 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"
- 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 StringWo 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
clientSecretorclientSecretWocan only be set.- client
Secret StringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - default
Continue StringUri - The default continue URI for 3LO flow and it will be used when no continue URI is provided in the RetrieveCredentials request.
- enable
Pkce Boolean - 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"
AuthProviderAuthProviderTypeParamsTwoLeggedOauth, AuthProviderAuthProviderTypeParamsTwoLeggedOauthArgs
- 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 stringWo 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
clientSecretorclientSecretWocan only be set.- Client
Secret stringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - Token
Url 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 stringWo 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
clientSecretorclientSecretWocan only be set.- Client
Secret stringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - Token
Url 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_ stringwo 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
clientSecretorclientSecretWocan only be set.- client_
secret_ stringwo_ version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - token_
url 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 StringWo 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
clientSecretorclientSecretWocan only be set.- client
Secret StringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - token
Url 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 stringWo 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
clientSecretorclientSecretWocan only be set.- client
Secret stringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - token
Url 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_ strwo 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
clientSecretorclientSecretWocan only be set.- client_
secret_ strwo_ version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - token_
url str - 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 StringWo 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
clientSecretorclientSecretWocan only be set.- client
Secret StringWo Version - Triggers update of
clientSecretWowrite-only. Increment this value when an update toclientSecretWois needed. For more info see updating write-only arguments - token
Url 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-betaTerraform Provider.
published on Monday, Aug 10, 2026 by Pulumi