1. Packages
  2. Packages
  3. dbt Cloud Provider
  4. API Docs
  5. OauthConfiguration
Viewing docs for dbt Cloud v1.8.1
published on Friday, May 8, 2026 by Pulumi
dbtcloud logo
Viewing docs for dbt Cloud v1.8.1
published on Friday, May 8, 2026 by Pulumi

    Configure an external OAuth integration for the data warehouse. Currently supports Okta and Entra ID (i.e. Azure AD) for Snowflake.

    See the documentation for more information on how to configure it.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dbtcloud from "@pulumi/dbtcloud";
    
    // Using the classic sensitive attribute (stored in state)
    const entra = new dbtcloud.OauthConfiguration("entra", {
        type: "entra",
        name: "My Entra ID Oauth integration",
        clientId: "client-id",
        clientSecret: "client-secret",
        redirectUri: "http://example.com",
        tokenUrl: "http://example.com",
        authorizeUrl: "http://example.com",
        applicationIdUri: "uri",
    });
    const okta = new dbtcloud.OauthConfiguration("okta", {
        type: "okta",
        name: "My Okta Oauth integration",
        clientId: "client-id",
        clientSecret: "client-secret",
        redirectUri: "http://example.com",
        tokenUrl: "http://example.com",
        authorizeUrl: "http://example.com",
    });
    const config = new pulumi.Config();
    const oauthClientSecret = config.require("oauthClientSecret");
    const entraWo = new dbtcloud.OauthConfiguration("entra_wo", {
        type: "entra",
        name: "My Entra ID Oauth integration",
        clientId: "client-id",
        clientSecretWo: oauthClientSecret,
        clientSecretWoVersion: 1,
        redirectUri: "http://example.com",
        tokenUrl: "http://example.com",
        authorizeUrl: "http://example.com",
        applicationIdUri: "uri",
    });
    
    import pulumi
    import pulumi_dbtcloud as dbtcloud
    
    # Using the classic sensitive attribute (stored in state)
    entra = dbtcloud.OauthConfiguration("entra",
        type="entra",
        name="My Entra ID Oauth integration",
        client_id="client-id",
        client_secret="client-secret",
        redirect_uri="http://example.com",
        token_url="http://example.com",
        authorize_url="http://example.com",
        application_id_uri="uri")
    okta = dbtcloud.OauthConfiguration("okta",
        type="okta",
        name="My Okta Oauth integration",
        client_id="client-id",
        client_secret="client-secret",
        redirect_uri="http://example.com",
        token_url="http://example.com",
        authorize_url="http://example.com")
    config = pulumi.Config()
    oauth_client_secret = config.require("oauthClientSecret")
    entra_wo = dbtcloud.OauthConfiguration("entra_wo",
        type="entra",
        name="My Entra ID Oauth integration",
        client_id="client-id",
        client_secret_wo=oauth_client_secret,
        client_secret_wo_version=1,
        redirect_uri="http://example.com",
        token_url="http://example.com",
        authorize_url="http://example.com",
        application_id_uri="uri")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Using the classic sensitive attribute (stored in state)
    		_, err := dbtcloud.NewOauthConfiguration(ctx, "entra", &dbtcloud.OauthConfigurationArgs{
    			Type:             pulumi.String("entra"),
    			Name:             pulumi.String("My Entra ID Oauth integration"),
    			ClientId:         pulumi.String("client-id"),
    			ClientSecret:     pulumi.String("client-secret"),
    			RedirectUri:      pulumi.String("http://example.com"),
    			TokenUrl:         pulumi.String("http://example.com"),
    			AuthorizeUrl:     pulumi.String("http://example.com"),
    			ApplicationIdUri: pulumi.String("uri"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dbtcloud.NewOauthConfiguration(ctx, "okta", &dbtcloud.OauthConfigurationArgs{
    			Type:         pulumi.String("okta"),
    			Name:         pulumi.String("My Okta Oauth integration"),
    			ClientId:     pulumi.String("client-id"),
    			ClientSecret: pulumi.String("client-secret"),
    			RedirectUri:  pulumi.String("http://example.com"),
    			TokenUrl:     pulumi.String("http://example.com"),
    			AuthorizeUrl: pulumi.String("http://example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		cfg := config.New(ctx, "")
    		oauthClientSecret := cfg.Require("oauthClientSecret")
    		_, err = dbtcloud.NewOauthConfiguration(ctx, "entra_wo", &dbtcloud.OauthConfigurationArgs{
    			Type:                  pulumi.String("entra"),
    			Name:                  pulumi.String("My Entra ID Oauth integration"),
    			ClientId:              pulumi.String("client-id"),
    			ClientSecretWo:        pulumi.String(pulumi.String(oauthClientSecret)),
    			ClientSecretWoVersion: pulumi.Int(1),
    			RedirectUri:           pulumi.String("http://example.com"),
    			TokenUrl:              pulumi.String("http://example.com"),
    			AuthorizeUrl:          pulumi.String("http://example.com"),
    			ApplicationIdUri:      pulumi.String("uri"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DbtCloud = Pulumi.DbtCloud;
    
    return await Deployment.RunAsync(() => 
    {
        // Using the classic sensitive attribute (stored in state)
        var entra = new DbtCloud.Index.OauthConfiguration("entra", new()
        {
            Type = "entra",
            Name = "My Entra ID Oauth integration",
            ClientId = "client-id",
            ClientSecret = "client-secret",
            RedirectUri = "http://example.com",
            TokenUrl = "http://example.com",
            AuthorizeUrl = "http://example.com",
            ApplicationIdUri = "uri",
        });
    
        var okta = new DbtCloud.Index.OauthConfiguration("okta", new()
        {
            Type = "okta",
            Name = "My Okta Oauth integration",
            ClientId = "client-id",
            ClientSecret = "client-secret",
            RedirectUri = "http://example.com",
            TokenUrl = "http://example.com",
            AuthorizeUrl = "http://example.com",
        });
    
        var config = new Config();
        var oauthClientSecret = config.Require("oauthClientSecret");
        var entraWo = new DbtCloud.Index.OauthConfiguration("entra_wo", new()
        {
            Type = "entra",
            Name = "My Entra ID Oauth integration",
            ClientId = "client-id",
            ClientSecretWo = oauthClientSecret,
            ClientSecretWoVersion = 1,
            RedirectUri = "http://example.com",
            TokenUrl = "http://example.com",
            AuthorizeUrl = "http://example.com",
            ApplicationIdUri = "uri",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dbtcloud.OauthConfiguration;
    import com.pulumi.dbtcloud.OauthConfigurationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            // Using the classic sensitive attribute (stored in state)
            var entra = new OauthConfiguration("entra", OauthConfigurationArgs.builder()
                .type("entra")
                .name("My Entra ID Oauth integration")
                .clientId("client-id")
                .clientSecret("client-secret")
                .redirectUri("http://example.com")
                .tokenUrl("http://example.com")
                .authorizeUrl("http://example.com")
                .applicationIdUri("uri")
                .build());
    
            var okta = new OauthConfiguration("okta", OauthConfigurationArgs.builder()
                .type("okta")
                .name("My Okta Oauth integration")
                .clientId("client-id")
                .clientSecret("client-secret")
                .redirectUri("http://example.com")
                .tokenUrl("http://example.com")
                .authorizeUrl("http://example.com")
                .build());
    
            final var oauthClientSecret = config.require("oauthClientSecret");
            var entraWo = new OauthConfiguration("entraWo", OauthConfigurationArgs.builder()
                .type("entra")
                .name("My Entra ID Oauth integration")
                .clientId("client-id")
                .clientSecretWo(oauthClientSecret)
                .clientSecretWoVersion(1)
                .redirectUri("http://example.com")
                .tokenUrl("http://example.com")
                .authorizeUrl("http://example.com")
                .applicationIdUri("uri")
                .build());
    
        }
    }
    
    configuration:
      # Using write-only attributes (not stored in state, requires Terraform >= 1.11)
      # //
      # // The client_secret_wo value is never persisted in the Terraform state file.
      # // Use client_secret_wo_version to trigger an update when the client secret changes.
      oauthClientSecret:
        type: string
    resources:
      # Using the classic sensitive attribute (stored in state)
      entra:
        type: dbtcloud:OauthConfiguration
        properties:
          type: entra
          name: My Entra ID Oauth integration
          clientId: client-id
          clientSecret: client-secret
          redirectUri: http://example.com
          tokenUrl: http://example.com
          authorizeUrl: http://example.com
          applicationIdUri: uri
      okta:
        type: dbtcloud:OauthConfiguration
        properties:
          type: okta
          name: My Okta Oauth integration
          clientId: client-id
          clientSecret: client-secret
          redirectUri: http://example.com
          tokenUrl: http://example.com
          authorizeUrl: http://example.com
      entraWo:
        type: dbtcloud:OauthConfiguration
        name: entra_wo
        properties:
          type: entra
          name: My Entra ID Oauth integration
          clientId: client-id
          clientSecretWo: ${oauthClientSecret}
          clientSecretWoVersion: 1
          redirectUri: http://example.com
          tokenUrl: http://example.com
          authorizeUrl: http://example.com
          applicationIdUri: uri
    

    Create OauthConfiguration Resource

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

    Constructor syntax

    new OauthConfiguration(name: string, args: OauthConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def OauthConfiguration(resource_name: str,
                           args: OauthConfigurationArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def OauthConfiguration(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           authorize_url: Optional[str] = None,
                           client_id: Optional[str] = None,
                           redirect_uri: Optional[str] = None,
                           token_url: Optional[str] = None,
                           type: Optional[str] = None,
                           application_id_uri: Optional[str] = None,
                           client_secret: Optional[str] = None,
                           client_secret_wo: Optional[str] = None,
                           client_secret_wo_version: Optional[int] = None,
                           name: Optional[str] = None)
    func NewOauthConfiguration(ctx *Context, name string, args OauthConfigurationArgs, opts ...ResourceOption) (*OauthConfiguration, error)
    public OauthConfiguration(string name, OauthConfigurationArgs args, CustomResourceOptions? opts = null)
    public OauthConfiguration(String name, OauthConfigurationArgs args)
    public OauthConfiguration(String name, OauthConfigurationArgs args, CustomResourceOptions options)
    
    type: dbtcloud:OauthConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OauthConfigurationArgs
    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 OauthConfigurationArgs
    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 OauthConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OauthConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OauthConfigurationArgs
    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 oauthConfigurationResource = new DbtCloud.OauthConfiguration("oauthConfigurationResource", new()
    {
        AuthorizeUrl = "string",
        ClientId = "string",
        RedirectUri = "string",
        TokenUrl = "string",
        Type = "string",
        ApplicationIdUri = "string",
        ClientSecret = "string",
        ClientSecretWo = "string",
        ClientSecretWoVersion = 0,
        Name = "string",
    });
    
    example, err := dbtcloud.NewOauthConfiguration(ctx, "oauthConfigurationResource", &dbtcloud.OauthConfigurationArgs{
    	AuthorizeUrl:          pulumi.String("string"),
    	ClientId:              pulumi.String("string"),
    	RedirectUri:           pulumi.String("string"),
    	TokenUrl:              pulumi.String("string"),
    	Type:                  pulumi.String("string"),
    	ApplicationIdUri:      pulumi.String("string"),
    	ClientSecret:          pulumi.String("string"),
    	ClientSecretWo:        pulumi.String("string"),
    	ClientSecretWoVersion: pulumi.Int(0),
    	Name:                  pulumi.String("string"),
    })
    
    var oauthConfigurationResource = new OauthConfiguration("oauthConfigurationResource", OauthConfigurationArgs.builder()
        .authorizeUrl("string")
        .clientId("string")
        .redirectUri("string")
        .tokenUrl("string")
        .type("string")
        .applicationIdUri("string")
        .clientSecret("string")
        .clientSecretWo("string")
        .clientSecretWoVersion(0)
        .name("string")
        .build());
    
    oauth_configuration_resource = dbtcloud.OauthConfiguration("oauthConfigurationResource",
        authorize_url="string",
        client_id="string",
        redirect_uri="string",
        token_url="string",
        type="string",
        application_id_uri="string",
        client_secret="string",
        client_secret_wo="string",
        client_secret_wo_version=0,
        name="string")
    
    const oauthConfigurationResource = new dbtcloud.OauthConfiguration("oauthConfigurationResource", {
        authorizeUrl: "string",
        clientId: "string",
        redirectUri: "string",
        tokenUrl: "string",
        type: "string",
        applicationIdUri: "string",
        clientSecret: "string",
        clientSecretWo: "string",
        clientSecretWoVersion: 0,
        name: "string",
    });
    
    type: dbtcloud:OauthConfiguration
    properties:
        applicationIdUri: string
        authorizeUrl: string
        clientId: string
        clientSecret: string
        clientSecretWo: string
        clientSecretWoVersion: 0
        name: string
        redirectUri: string
        tokenUrl: string
        type: string
    

    OauthConfiguration 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 OauthConfiguration resource accepts the following input properties:

    AuthorizeUrl string
    The Authorize URL for the OAuth integration
    ClientId string
    The Client ID for the OAuth integration
    RedirectUri string
    The redirect URL for the OAuth integration
    TokenUrl string
    The Token URL for the OAuth integration
    Type string
    The type of OAuth integration (entra or okta)
    ApplicationIdUri string
    The Application ID URI for the OAuth integration. Only for Entra
    ClientSecret string
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    ClientSecretWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    ClientSecretWoVersion int
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    Name string
    The name of OAuth integration
    AuthorizeUrl string
    The Authorize URL for the OAuth integration
    ClientId string
    The Client ID for the OAuth integration
    RedirectUri string
    The redirect URL for the OAuth integration
    TokenUrl string
    The Token URL for the OAuth integration
    Type string
    The type of OAuth integration (entra or okta)
    ApplicationIdUri string
    The Application ID URI for the OAuth integration. Only for Entra
    ClientSecret string
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    ClientSecretWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    ClientSecretWoVersion int
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    Name string
    The name of OAuth integration
    authorizeUrl String
    The Authorize URL for the OAuth integration
    clientId String
    The Client ID for the OAuth integration
    redirectUri String
    The redirect URL for the OAuth integration
    tokenUrl String
    The Token URL for the OAuth integration
    type String
    The type of OAuth integration (entra or okta)
    applicationIdUri String
    The Application ID URI for the OAuth integration. Only for Entra
    clientSecret String
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    clientSecretWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    clientSecretWoVersion Integer
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name String
    The name of OAuth integration
    authorizeUrl string
    The Authorize URL for the OAuth integration
    clientId string
    The Client ID for the OAuth integration
    redirectUri string
    The redirect URL for the OAuth integration
    tokenUrl string
    The Token URL for the OAuth integration
    type string
    The type of OAuth integration (entra or okta)
    applicationIdUri string
    The Application ID URI for the OAuth integration. Only for Entra
    clientSecret string
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    clientSecretWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    clientSecretWoVersion number
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name string
    The name of OAuth integration
    authorize_url str
    The Authorize URL for the OAuth integration
    client_id str
    The Client ID for the OAuth integration
    redirect_uri str
    The redirect URL for the OAuth integration
    token_url str
    The Token URL for the OAuth integration
    type str
    The type of OAuth integration (entra or okta)
    application_id_uri str
    The Application ID URI for the OAuth integration. Only for Entra
    client_secret str
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    client_secret_wo str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    client_secret_wo_version int
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name str
    The name of OAuth integration
    authorizeUrl String
    The Authorize URL for the OAuth integration
    clientId String
    The Client ID for the OAuth integration
    redirectUri String
    The redirect URL for the OAuth integration
    tokenUrl String
    The Token URL for the OAuth integration
    type String
    The type of OAuth integration (entra or okta)
    applicationIdUri String
    The Application ID URI for the OAuth integration. Only for Entra
    clientSecret String
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    clientSecretWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    clientSecretWoVersion Number
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name String
    The name of OAuth integration

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OauthConfiguration Resource

    Get an existing OauthConfiguration 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?: OauthConfigurationState, opts?: CustomResourceOptions): OauthConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id_uri: Optional[str] = None,
            authorize_url: Optional[str] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            client_secret_wo: Optional[str] = None,
            client_secret_wo_version: Optional[int] = None,
            name: Optional[str] = None,
            redirect_uri: Optional[str] = None,
            token_url: Optional[str] = None,
            type: Optional[str] = None) -> OauthConfiguration
    func GetOauthConfiguration(ctx *Context, name string, id IDInput, state *OauthConfigurationState, opts ...ResourceOption) (*OauthConfiguration, error)
    public static OauthConfiguration Get(string name, Input<string> id, OauthConfigurationState? state, CustomResourceOptions? opts = null)
    public static OauthConfiguration get(String name, Output<String> id, OauthConfigurationState state, CustomResourceOptions options)
    resources:  _:    type: dbtcloud:OauthConfiguration    get:      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:
    ApplicationIdUri string
    The Application ID URI for the OAuth integration. Only for Entra
    AuthorizeUrl string
    The Authorize URL for the OAuth integration
    ClientId string
    The Client ID for the OAuth integration
    ClientSecret string
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    ClientSecretWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    ClientSecretWoVersion int
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    Name string
    The name of OAuth integration
    RedirectUri string
    The redirect URL for the OAuth integration
    TokenUrl string
    The Token URL for the OAuth integration
    Type string
    The type of OAuth integration (entra or okta)
    ApplicationIdUri string
    The Application ID URI for the OAuth integration. Only for Entra
    AuthorizeUrl string
    The Authorize URL for the OAuth integration
    ClientId string
    The Client ID for the OAuth integration
    ClientSecret string
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    ClientSecretWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    ClientSecretWoVersion int
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    Name string
    The name of OAuth integration
    RedirectUri string
    The redirect URL for the OAuth integration
    TokenUrl string
    The Token URL for the OAuth integration
    Type string
    The type of OAuth integration (entra or okta)
    applicationIdUri String
    The Application ID URI for the OAuth integration. Only for Entra
    authorizeUrl String
    The Authorize URL for the OAuth integration
    clientId String
    The Client ID for the OAuth integration
    clientSecret String
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    clientSecretWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    clientSecretWoVersion Integer
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name String
    The name of OAuth integration
    redirectUri String
    The redirect URL for the OAuth integration
    tokenUrl String
    The Token URL for the OAuth integration
    type String
    The type of OAuth integration (entra or okta)
    applicationIdUri string
    The Application ID URI for the OAuth integration. Only for Entra
    authorizeUrl string
    The Authorize URL for the OAuth integration
    clientId string
    The Client ID for the OAuth integration
    clientSecret string
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    clientSecretWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    clientSecretWoVersion number
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name string
    The name of OAuth integration
    redirectUri string
    The redirect URL for the OAuth integration
    tokenUrl string
    The Token URL for the OAuth integration
    type string
    The type of OAuth integration (entra or okta)
    application_id_uri str
    The Application ID URI for the OAuth integration. Only for Entra
    authorize_url str
    The Authorize URL for the OAuth integration
    client_id str
    The Client ID for the OAuth integration
    client_secret str
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    client_secret_wo str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    client_secret_wo_version int
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name str
    The name of OAuth integration
    redirect_uri str
    The redirect URL for the OAuth integration
    token_url str
    The Token URL for the OAuth integration
    type str
    The type of OAuth integration (entra or okta)
    applicationIdUri String
    The Application ID URI for the OAuth integration. Only for Entra
    authorizeUrl String
    The Authorize URL for the OAuth integration
    clientId String
    The Client ID for the OAuth integration
    clientSecret String
    The Client secret for the OAuth integration. Consider using clientSecretWo instead, which is not stored in state.
    clientSecretWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only alternative to clientSecret. The value is not stored in state. Requires clientSecretWoVersion to trigger updates.
    clientSecretWoVersion Number
    Version number for clientSecretWo. Increment this value to trigger an update of the client secret when using clientSecretWo.
    name String
    The name of OAuth integration
    redirectUri String
    The redirect URL for the OAuth integration
    tokenUrl String
    The Token URL for the OAuth integration
    type String
    The type of OAuth integration (entra or okta)

    Import

    using import blocks (requires Terraform >= 1.5) import { to = dbtcloud_oauth_configuration.my_external_oauth id = “externalOauthId” }

    import { to = dbtcloud_oauth_configuration.my_external_oauth id = “12345” }

    using the older import command

    $ pulumi import dbtcloud:index/oauthConfiguration:OauthConfiguration my_external_oauth "external_oauth_id"
    $ pulumi import dbtcloud:index/oauthConfiguration:OauthConfiguration my_external_oauth 12345
    

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

    Package Details

    Repository
    dbtcloud pulumi/pulumi-dbtcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dbtcloud Terraform Provider.
    dbtcloud logo
    Viewing docs for dbt Cloud v1.8.1
    published on Friday, May 8, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.