google_integrations_auth_config

The AuthConfig resource use to hold channels and connection config data.

To get more information about AuthConfig, see:

Example Usage - Integrations Auth Config Basic

resource "google_integrations_client" "client" {
  location = "us-west1"
}

resource "google_integrations_auth_config" "basic_example" {
    location = "us-west1"
    display_name = "test-authconfig"
    description = "Test auth config created via terraform"
    decrypted_credential {
        credential_type = "USERNAME_AND_PASSWORD"
        username_and_password {
            username = "test-username"
            password = "test-password"
        }
    }
    depends_on = [google_integrations_client.client]
}

Argument Reference

The following arguments are supported:


The decrypted_credential block supports:

The username_and_password block supports:

The oauth2_authorization_code block supports:

The oauth2_client_credentials block supports:

The token_params block supports:

The entries block supports:

The key block supports:

The literal_value block supports:

The value block supports:

The literal_value block supports:

The jwt block supports:

The auth_token block supports:

The service_account_credentials block supports:

The oidc_token block supports:

The client_certificate block supports:

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

AuthConfig can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import AuthConfig using one of the formats above. For example:

import {
  id = "{{name}}"
  to = google_integrations_auth_config.default
}

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

$ terraform import google_integrations_auth_config.default {{name}}

User Project Overrides

This resource supports User Project Overrides.