1. Packages
  2. Packages
  3. dbt Cloud Provider
  4. API Docs
  5. SnowflakePlatformMetadataCredential
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

    Manages Snowflake platform metadata credentials for external metadata ingestion in dbt Cloud.

    This resource configures credentials that allow dbt Cloud to connect directly to your Snowflake warehouse to ingest metadata outside of normal dbt project runs. This enables features like:

    • Catalog Ingestion: Ingest metadata about tables/views not defined in dbt
    • Cost Optimization: Query warehouse cost and performance data
    • Cost Insights: Enhanced cost visibility and analysis

    Note: At least one of catalogIngestionEnabled, costOptimizationEnabled, or costInsightsEnabled must be enabled for the credential to be usable.

    Note: The connectionId cannot be changed after creation. To use a different connection, you must destroy and recreate the resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dbtcloud from "@pulumi/dbtcloud";
    
    // Using the classic sensitive attributes (stored in state)
    const passwordAuth = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth", {
        connectionId: snowflake.id,
        catalogIngestionEnabled: true,
        costOptimizationEnabled: true,
        costInsightsEnabled: false,
        authType: "password",
        user: "METADATA_READER",
        password: snowflakePassword,
        role: "METADATA_READER_ROLE",
        warehouse: "METADATA_WH",
    });
    const keypairAuth = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth", {
        connectionId: snowflake.id,
        catalogIngestionEnabled: true,
        costOptimizationEnabled: false,
        costInsightsEnabled: false,
        authType: "keypair",
        user: "METADATA_READER",
        privateKey: snowflakePrivateKey,
        privateKeyPassphrase: snowflakePrivateKeyPassphrase,
        role: "METADATA_READER_ROLE",
        warehouse: "METADATA_WH",
    });
    const config = new pulumi.Config();
    const snowflakeMetadataPassword = config.require("snowflakeMetadataPassword");
    const snowflakeMetadataPrivateKey = config.require("snowflakeMetadataPrivateKey");
    const snowflakeMetadataPrivateKeyPassphrase = config.require("snowflakeMetadataPrivateKeyPassphrase");
    const passwordAuthWo = new dbtcloud.SnowflakePlatformMetadataCredential("password_auth_wo", {
        connectionId: snowflake.id,
        catalogIngestionEnabled: true,
        costOptimizationEnabled: true,
        costInsightsEnabled: false,
        authType: "password",
        user: "METADATA_READER",
        passwordWo: snowflakeMetadataPassword,
        passwordWoVersion: 1,
        role: "METADATA_READER_ROLE",
        warehouse: "METADATA_WH",
    });
    const keypairAuthWo = new dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth_wo", {
        connectionId: snowflake.id,
        catalogIngestionEnabled: true,
        costOptimizationEnabled: false,
        costInsightsEnabled: false,
        authType: "keypair",
        user: "METADATA_READER",
        privateKeyWo: snowflakeMetadataPrivateKey,
        privateKeyWoVersion: 1,
        privateKeyPassphraseWo: snowflakeMetadataPrivateKeyPassphrase,
        privateKeyPassphraseWoVersion: 1,
        role: "METADATA_READER_ROLE",
        warehouse: "METADATA_WH",
    });
    
    import pulumi
    import pulumi_dbtcloud as dbtcloud
    
    # Using the classic sensitive attributes (stored in state)
    password_auth = dbtcloud.SnowflakePlatformMetadataCredential("password_auth",
        connection_id=snowflake["id"],
        catalog_ingestion_enabled=True,
        cost_optimization_enabled=True,
        cost_insights_enabled=False,
        auth_type="password",
        user="METADATA_READER",
        password=snowflake_password,
        role="METADATA_READER_ROLE",
        warehouse="METADATA_WH")
    keypair_auth = dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth",
        connection_id=snowflake["id"],
        catalog_ingestion_enabled=True,
        cost_optimization_enabled=False,
        cost_insights_enabled=False,
        auth_type="keypair",
        user="METADATA_READER",
        private_key=snowflake_private_key,
        private_key_passphrase=snowflake_private_key_passphrase,
        role="METADATA_READER_ROLE",
        warehouse="METADATA_WH")
    config = pulumi.Config()
    snowflake_metadata_password = config.require("snowflakeMetadataPassword")
    snowflake_metadata_private_key = config.require("snowflakeMetadataPrivateKey")
    snowflake_metadata_private_key_passphrase = config.require("snowflakeMetadataPrivateKeyPassphrase")
    password_auth_wo = dbtcloud.SnowflakePlatformMetadataCredential("password_auth_wo",
        connection_id=snowflake["id"],
        catalog_ingestion_enabled=True,
        cost_optimization_enabled=True,
        cost_insights_enabled=False,
        auth_type="password",
        user="METADATA_READER",
        password_wo=snowflake_metadata_password,
        password_wo_version=1,
        role="METADATA_READER_ROLE",
        warehouse="METADATA_WH")
    keypair_auth_wo = dbtcloud.SnowflakePlatformMetadataCredential("keypair_auth_wo",
        connection_id=snowflake["id"],
        catalog_ingestion_enabled=True,
        cost_optimization_enabled=False,
        cost_insights_enabled=False,
        auth_type="keypair",
        user="METADATA_READER",
        private_key_wo=snowflake_metadata_private_key,
        private_key_wo_version=1,
        private_key_passphrase_wo=snowflake_metadata_private_key_passphrase,
        private_key_passphrase_wo_version=1,
        role="METADATA_READER_ROLE",
        warehouse="METADATA_WH")
    
    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 attributes (stored in state)
    		_, err := dbtcloud.NewSnowflakePlatformMetadataCredential(ctx, "password_auth", &dbtcloud.SnowflakePlatformMetadataCredentialArgs{
    			ConnectionId:            pulumi.Any(snowflake.Id),
    			CatalogIngestionEnabled: pulumi.Bool(true),
    			CostOptimizationEnabled: pulumi.Bool(true),
    			CostInsightsEnabled:     pulumi.Bool(false),
    			AuthType:                pulumi.String("password"),
    			User:                    pulumi.String("METADATA_READER"),
    			Password:                pulumi.Any(snowflakePassword),
    			Role:                    pulumi.String("METADATA_READER_ROLE"),
    			Warehouse:               pulumi.String("METADATA_WH"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dbtcloud.NewSnowflakePlatformMetadataCredential(ctx, "keypair_auth", &dbtcloud.SnowflakePlatformMetadataCredentialArgs{
    			ConnectionId:            pulumi.Any(snowflake.Id),
    			CatalogIngestionEnabled: pulumi.Bool(true),
    			CostOptimizationEnabled: pulumi.Bool(false),
    			CostInsightsEnabled:     pulumi.Bool(false),
    			AuthType:                pulumi.String("keypair"),
    			User:                    pulumi.String("METADATA_READER"),
    			PrivateKey:              pulumi.Any(snowflakePrivateKey),
    			PrivateKeyPassphrase:    pulumi.Any(snowflakePrivateKeyPassphrase),
    			Role:                    pulumi.String("METADATA_READER_ROLE"),
    			Warehouse:               pulumi.String("METADATA_WH"),
    		})
    		if err != nil {
    			return err
    		}
    		cfg := config.New(ctx, "")
    		snowflakeMetadataPassword := cfg.Require("snowflakeMetadataPassword")
    		snowflakeMetadataPrivateKey := cfg.Require("snowflakeMetadataPrivateKey")
    		snowflakeMetadataPrivateKeyPassphrase := cfg.Require("snowflakeMetadataPrivateKeyPassphrase")
    		_, err = dbtcloud.NewSnowflakePlatformMetadataCredential(ctx, "password_auth_wo", &dbtcloud.SnowflakePlatformMetadataCredentialArgs{
    			ConnectionId:            pulumi.Any(snowflake.Id),
    			CatalogIngestionEnabled: pulumi.Bool(true),
    			CostOptimizationEnabled: pulumi.Bool(true),
    			CostInsightsEnabled:     pulumi.Bool(false),
    			AuthType:                pulumi.String("password"),
    			User:                    pulumi.String("METADATA_READER"),
    			PasswordWo:              pulumi.String(pulumi.String(snowflakeMetadataPassword)),
    			PasswordWoVersion:       pulumi.Int(1),
    			Role:                    pulumi.String("METADATA_READER_ROLE"),
    			Warehouse:               pulumi.String("METADATA_WH"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dbtcloud.NewSnowflakePlatformMetadataCredential(ctx, "keypair_auth_wo", &dbtcloud.SnowflakePlatformMetadataCredentialArgs{
    			ConnectionId:                  pulumi.Any(snowflake.Id),
    			CatalogIngestionEnabled:       pulumi.Bool(true),
    			CostOptimizationEnabled:       pulumi.Bool(false),
    			CostInsightsEnabled:           pulumi.Bool(false),
    			AuthType:                      pulumi.String("keypair"),
    			User:                          pulumi.String("METADATA_READER"),
    			PrivateKeyWo:                  pulumi.String(pulumi.String(snowflakeMetadataPrivateKey)),
    			PrivateKeyWoVersion:           pulumi.Int(1),
    			PrivateKeyPassphraseWo:        pulumi.String(pulumi.String(snowflakeMetadataPrivateKeyPassphrase)),
    			PrivateKeyPassphraseWoVersion: pulumi.Int(1),
    			Role:                          pulumi.String("METADATA_READER_ROLE"),
    			Warehouse:                     pulumi.String("METADATA_WH"),
    		})
    		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 attributes (stored in state)
        var passwordAuth = new DbtCloud.Index.SnowflakePlatformMetadataCredential("password_auth", new()
        {
            ConnectionId = snowflake.Id,
            CatalogIngestionEnabled = true,
            CostOptimizationEnabled = true,
            CostInsightsEnabled = false,
            AuthType = "password",
            User = "METADATA_READER",
            Password = snowflakePassword,
            Role = "METADATA_READER_ROLE",
            Warehouse = "METADATA_WH",
        });
    
        var keypairAuth = new DbtCloud.Index.SnowflakePlatformMetadataCredential("keypair_auth", new()
        {
            ConnectionId = snowflake.Id,
            CatalogIngestionEnabled = true,
            CostOptimizationEnabled = false,
            CostInsightsEnabled = false,
            AuthType = "keypair",
            User = "METADATA_READER",
            PrivateKey = snowflakePrivateKey,
            PrivateKeyPassphrase = snowflakePrivateKeyPassphrase,
            Role = "METADATA_READER_ROLE",
            Warehouse = "METADATA_WH",
        });
    
        var config = new Config();
        var snowflakeMetadataPassword = config.Require("snowflakeMetadataPassword");
        var snowflakeMetadataPrivateKey = config.Require("snowflakeMetadataPrivateKey");
        var snowflakeMetadataPrivateKeyPassphrase = config.Require("snowflakeMetadataPrivateKeyPassphrase");
        var passwordAuthWo = new DbtCloud.Index.SnowflakePlatformMetadataCredential("password_auth_wo", new()
        {
            ConnectionId = snowflake.Id,
            CatalogIngestionEnabled = true,
            CostOptimizationEnabled = true,
            CostInsightsEnabled = false,
            AuthType = "password",
            User = "METADATA_READER",
            PasswordWo = snowflakeMetadataPassword,
            PasswordWoVersion = 1,
            Role = "METADATA_READER_ROLE",
            Warehouse = "METADATA_WH",
        });
    
        var keypairAuthWo = new DbtCloud.Index.SnowflakePlatformMetadataCredential("keypair_auth_wo", new()
        {
            ConnectionId = snowflake.Id,
            CatalogIngestionEnabled = true,
            CostOptimizationEnabled = false,
            CostInsightsEnabled = false,
            AuthType = "keypair",
            User = "METADATA_READER",
            PrivateKeyWo = snowflakeMetadataPrivateKey,
            PrivateKeyWoVersion = 1,
            PrivateKeyPassphraseWo = snowflakeMetadataPrivateKeyPassphrase,
            PrivateKeyPassphraseWoVersion = 1,
            Role = "METADATA_READER_ROLE",
            Warehouse = "METADATA_WH",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dbtcloud.SnowflakePlatformMetadataCredential;
    import com.pulumi.dbtcloud.SnowflakePlatformMetadataCredentialArgs;
    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 attributes (stored in state)
            var passwordAuth = new SnowflakePlatformMetadataCredential("passwordAuth", SnowflakePlatformMetadataCredentialArgs.builder()
                .connectionId(snowflake.id())
                .catalogIngestionEnabled(true)
                .costOptimizationEnabled(true)
                .costInsightsEnabled(false)
                .authType("password")
                .user("METADATA_READER")
                .password(snowflakePassword)
                .role("METADATA_READER_ROLE")
                .warehouse("METADATA_WH")
                .build());
    
            var keypairAuth = new SnowflakePlatformMetadataCredential("keypairAuth", SnowflakePlatformMetadataCredentialArgs.builder()
                .connectionId(snowflake.id())
                .catalogIngestionEnabled(true)
                .costOptimizationEnabled(false)
                .costInsightsEnabled(false)
                .authType("keypair")
                .user("METADATA_READER")
                .privateKey(snowflakePrivateKey)
                .privateKeyPassphrase(snowflakePrivateKeyPassphrase)
                .role("METADATA_READER_ROLE")
                .warehouse("METADATA_WH")
                .build());
    
            final var snowflakeMetadataPassword = config.require("snowflakeMetadataPassword");
            final var snowflakeMetadataPrivateKey = config.require("snowflakeMetadataPrivateKey");
            final var snowflakeMetadataPrivateKeyPassphrase = config.require("snowflakeMetadataPrivateKeyPassphrase");
            var passwordAuthWo = new SnowflakePlatformMetadataCredential("passwordAuthWo", SnowflakePlatformMetadataCredentialArgs.builder()
                .connectionId(snowflake.id())
                .catalogIngestionEnabled(true)
                .costOptimizationEnabled(true)
                .costInsightsEnabled(false)
                .authType("password")
                .user("METADATA_READER")
                .passwordWo(snowflakeMetadataPassword)
                .passwordWoVersion(1)
                .role("METADATA_READER_ROLE")
                .warehouse("METADATA_WH")
                .build());
    
            var keypairAuthWo = new SnowflakePlatformMetadataCredential("keypairAuthWo", SnowflakePlatformMetadataCredentialArgs.builder()
                .connectionId(snowflake.id())
                .catalogIngestionEnabled(true)
                .costOptimizationEnabled(false)
                .costInsightsEnabled(false)
                .authType("keypair")
                .user("METADATA_READER")
                .privateKeyWo(snowflakeMetadataPrivateKey)
                .privateKeyWoVersion(1)
                .privateKeyPassphraseWo(snowflakeMetadataPrivateKeyPassphrase)
                .privateKeyPassphraseWoVersion(1)
                .role("METADATA_READER_ROLE")
                .warehouse("METADATA_WH")
                .build());
    
        }
    }
    
    configuration:
      # Using write-only attributes (not stored in state, requires Terraform >= 1.11)
      snowflakeMetadataPassword:
        type: string
      snowflakeMetadataPrivateKey:
        type: string
      snowflakeMetadataPrivateKeyPassphrase:
        type: string
    resources:
      # Using the classic sensitive attributes (stored in state)
      passwordAuth:
        type: dbtcloud:SnowflakePlatformMetadataCredential
        name: password_auth
        properties:
          connectionId: ${snowflake.id}
          catalogIngestionEnabled: true
          costOptimizationEnabled: true
          costInsightsEnabled: false
          authType: password
          user: METADATA_READER
          password: ${snowflakePassword}
          role: METADATA_READER_ROLE
          warehouse: METADATA_WH
      keypairAuth:
        type: dbtcloud:SnowflakePlatformMetadataCredential
        name: keypair_auth
        properties:
          connectionId: ${snowflake.id}
          catalogIngestionEnabled: true
          costOptimizationEnabled: false
          costInsightsEnabled: false
          authType: keypair
          user: METADATA_READER
          privateKey: ${snowflakePrivateKey}
          privateKeyPassphrase: ${snowflakePrivateKeyPassphrase}
          role: METADATA_READER_ROLE
          warehouse: METADATA_WH
      passwordAuthWo:
        type: dbtcloud:SnowflakePlatformMetadataCredential
        name: password_auth_wo
        properties:
          connectionId: ${snowflake.id}
          catalogIngestionEnabled: true
          costOptimizationEnabled: true
          costInsightsEnabled: false
          authType: password
          user: METADATA_READER
          passwordWo: ${snowflakeMetadataPassword}
          passwordWoVersion: 1
          role: METADATA_READER_ROLE
          warehouse: METADATA_WH
      keypairAuthWo:
        type: dbtcloud:SnowflakePlatformMetadataCredential
        name: keypair_auth_wo
        properties:
          connectionId: ${snowflake.id}
          catalogIngestionEnabled: true
          costOptimizationEnabled: false
          costInsightsEnabled: false
          authType: keypair
          user: METADATA_READER
          privateKeyWo: ${snowflakeMetadataPrivateKey}
          privateKeyWoVersion: 1
          privateKeyPassphraseWo: ${snowflakeMetadataPrivateKeyPassphrase}
          privateKeyPassphraseWoVersion: 1
          role: METADATA_READER_ROLE
          warehouse: METADATA_WH
    

    Create SnowflakePlatformMetadataCredential Resource

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

    Constructor syntax

    new SnowflakePlatformMetadataCredential(name: string, args: SnowflakePlatformMetadataCredentialArgs, opts?: CustomResourceOptions);
    @overload
    def SnowflakePlatformMetadataCredential(resource_name: str,
                                            args: SnowflakePlatformMetadataCredentialArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SnowflakePlatformMetadataCredential(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            auth_type: Optional[str] = None,
                                            warehouse: Optional[str] = None,
                                            connection_id: Optional[int] = None,
                                            user: Optional[str] = None,
                                            role: Optional[str] = None,
                                            private_key: Optional[str] = None,
                                            password_wo: Optional[str] = None,
                                            password_wo_version: Optional[int] = None,
                                            password: Optional[str] = None,
                                            private_key_passphrase: Optional[str] = None,
                                            private_key_passphrase_wo: Optional[str] = None,
                                            private_key_passphrase_wo_version: Optional[int] = None,
                                            private_key_wo: Optional[str] = None,
                                            private_key_wo_version: Optional[int] = None,
                                            cost_optimization_enabled: Optional[bool] = None,
                                            cost_insights_enabled: Optional[bool] = None,
                                            catalog_ingestion_enabled: Optional[bool] = None)
    func NewSnowflakePlatformMetadataCredential(ctx *Context, name string, args SnowflakePlatformMetadataCredentialArgs, opts ...ResourceOption) (*SnowflakePlatformMetadataCredential, error)
    public SnowflakePlatformMetadataCredential(string name, SnowflakePlatformMetadataCredentialArgs args, CustomResourceOptions? opts = null)
    public SnowflakePlatformMetadataCredential(String name, SnowflakePlatformMetadataCredentialArgs args)
    public SnowflakePlatformMetadataCredential(String name, SnowflakePlatformMetadataCredentialArgs args, CustomResourceOptions options)
    
    type: dbtcloud:SnowflakePlatformMetadataCredential
    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 SnowflakePlatformMetadataCredentialArgs
    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 SnowflakePlatformMetadataCredentialArgs
    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 SnowflakePlatformMetadataCredentialArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SnowflakePlatformMetadataCredentialArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SnowflakePlatformMetadataCredentialArgs
    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 snowflakePlatformMetadataCredentialResource = new DbtCloud.SnowflakePlatformMetadataCredential("snowflakePlatformMetadataCredentialResource", new()
    {
        AuthType = "string",
        Warehouse = "string",
        ConnectionId = 0,
        User = "string",
        Role = "string",
        PrivateKey = "string",
        PasswordWo = "string",
        PasswordWoVersion = 0,
        Password = "string",
        PrivateKeyPassphrase = "string",
        PrivateKeyPassphraseWo = "string",
        PrivateKeyPassphraseWoVersion = 0,
        PrivateKeyWo = "string",
        PrivateKeyWoVersion = 0,
        CostOptimizationEnabled = false,
        CostInsightsEnabled = false,
        CatalogIngestionEnabled = false,
    });
    
    example, err := dbtcloud.NewSnowflakePlatformMetadataCredential(ctx, "snowflakePlatformMetadataCredentialResource", &dbtcloud.SnowflakePlatformMetadataCredentialArgs{
    	AuthType:                      pulumi.String("string"),
    	Warehouse:                     pulumi.String("string"),
    	ConnectionId:                  pulumi.Int(0),
    	User:                          pulumi.String("string"),
    	Role:                          pulumi.String("string"),
    	PrivateKey:                    pulumi.String("string"),
    	PasswordWo:                    pulumi.String("string"),
    	PasswordWoVersion:             pulumi.Int(0),
    	Password:                      pulumi.String("string"),
    	PrivateKeyPassphrase:          pulumi.String("string"),
    	PrivateKeyPassphraseWo:        pulumi.String("string"),
    	PrivateKeyPassphraseWoVersion: pulumi.Int(0),
    	PrivateKeyWo:                  pulumi.String("string"),
    	PrivateKeyWoVersion:           pulumi.Int(0),
    	CostOptimizationEnabled:       pulumi.Bool(false),
    	CostInsightsEnabled:           pulumi.Bool(false),
    	CatalogIngestionEnabled:       pulumi.Bool(false),
    })
    
    var snowflakePlatformMetadataCredentialResource = new SnowflakePlatformMetadataCredential("snowflakePlatformMetadataCredentialResource", SnowflakePlatformMetadataCredentialArgs.builder()
        .authType("string")
        .warehouse("string")
        .connectionId(0)
        .user("string")
        .role("string")
        .privateKey("string")
        .passwordWo("string")
        .passwordWoVersion(0)
        .password("string")
        .privateKeyPassphrase("string")
        .privateKeyPassphraseWo("string")
        .privateKeyPassphraseWoVersion(0)
        .privateKeyWo("string")
        .privateKeyWoVersion(0)
        .costOptimizationEnabled(false)
        .costInsightsEnabled(false)
        .catalogIngestionEnabled(false)
        .build());
    
    snowflake_platform_metadata_credential_resource = dbtcloud.SnowflakePlatformMetadataCredential("snowflakePlatformMetadataCredentialResource",
        auth_type="string",
        warehouse="string",
        connection_id=0,
        user="string",
        role="string",
        private_key="string",
        password_wo="string",
        password_wo_version=0,
        password="string",
        private_key_passphrase="string",
        private_key_passphrase_wo="string",
        private_key_passphrase_wo_version=0,
        private_key_wo="string",
        private_key_wo_version=0,
        cost_optimization_enabled=False,
        cost_insights_enabled=False,
        catalog_ingestion_enabled=False)
    
    const snowflakePlatformMetadataCredentialResource = new dbtcloud.SnowflakePlatformMetadataCredential("snowflakePlatformMetadataCredentialResource", {
        authType: "string",
        warehouse: "string",
        connectionId: 0,
        user: "string",
        role: "string",
        privateKey: "string",
        passwordWo: "string",
        passwordWoVersion: 0,
        password: "string",
        privateKeyPassphrase: "string",
        privateKeyPassphraseWo: "string",
        privateKeyPassphraseWoVersion: 0,
        privateKeyWo: "string",
        privateKeyWoVersion: 0,
        costOptimizationEnabled: false,
        costInsightsEnabled: false,
        catalogIngestionEnabled: false,
    });
    
    type: dbtcloud:SnowflakePlatformMetadataCredential
    properties:
        authType: string
        catalogIngestionEnabled: false
        connectionId: 0
        costInsightsEnabled: false
        costOptimizationEnabled: false
        password: string
        passwordWo: string
        passwordWoVersion: 0
        privateKey: string
        privateKeyPassphrase: string
        privateKeyPassphraseWo: string
        privateKeyPassphraseWoVersion: 0
        privateKeyWo: string
        privateKeyWoVersion: 0
        role: string
        user: string
        warehouse: string
    

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

    AuthType string
    The authentication type. Must be 'password' or 'keypair'.
    ConnectionId int
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    Role string
    The Snowflake role to use.
    User string
    The Snowflake user name.
    Warehouse string
    The Snowflake warehouse to use.
    CatalogIngestionEnabled bool
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    CostInsightsEnabled bool
    Whether cost insights is enabled for this credential.
    CostOptimizationEnabled bool
    Whether cost optimization data collection is enabled for this credential.
    Password string
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    PasswordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    PasswordWoVersion int
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    PrivateKey string
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    PrivateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    PrivateKeyPassphraseWoVersion int
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    PrivateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    PrivateKeyWoVersion int
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    AuthType string
    The authentication type. Must be 'password' or 'keypair'.
    ConnectionId int
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    Role string
    The Snowflake role to use.
    User string
    The Snowflake user name.
    Warehouse string
    The Snowflake warehouse to use.
    CatalogIngestionEnabled bool
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    CostInsightsEnabled bool
    Whether cost insights is enabled for this credential.
    CostOptimizationEnabled bool
    Whether cost optimization data collection is enabled for this credential.
    Password string
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    PasswordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    PasswordWoVersion int
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    PrivateKey string
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    PrivateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    PrivateKeyPassphraseWoVersion int
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    PrivateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    PrivateKeyWoVersion int
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    authType String
    The authentication type. Must be 'password' or 'keypair'.
    connectionId Integer
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    role String
    The Snowflake role to use.
    user String
    The Snowflake user name.
    warehouse String
    The Snowflake warehouse to use.
    catalogIngestionEnabled Boolean
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    costInsightsEnabled Boolean
    Whether cost insights is enabled for this credential.
    costOptimizationEnabled Boolean
    Whether cost optimization data collection is enabled for this credential.
    password String
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    passwordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    passwordWoVersion Integer
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    privateKey String
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    privateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    privateKeyPassphraseWoVersion Integer
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    privateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    privateKeyWoVersion Integer
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    authType string
    The authentication type. Must be 'password' or 'keypair'.
    connectionId number
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    role string
    The Snowflake role to use.
    user string
    The Snowflake user name.
    warehouse string
    The Snowflake warehouse to use.
    catalogIngestionEnabled boolean
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    costInsightsEnabled boolean
    Whether cost insights is enabled for this credential.
    costOptimizationEnabled boolean
    Whether cost optimization data collection is enabled for this credential.
    password string
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    passwordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    passwordWoVersion number
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    privateKey string
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase string
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    privateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    privateKeyPassphraseWoVersion number
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    privateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    privateKeyWoVersion number
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    auth_type str
    The authentication type. Must be 'password' or 'keypair'.
    connection_id int
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    role str
    The Snowflake role to use.
    user str
    The Snowflake user name.
    warehouse str
    The Snowflake warehouse to use.
    catalog_ingestion_enabled bool
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    cost_insights_enabled bool
    Whether cost insights is enabled for this credential.
    cost_optimization_enabled bool
    Whether cost optimization data collection is enabled for this credential.
    password str
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    password_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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    password_wo_version int
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    private_key str
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    private_key_passphrase str
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    private_key_passphrase_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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    private_key_passphrase_wo_version int
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    private_key_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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    private_key_wo_version int
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    authType String
    The authentication type. Must be 'password' or 'keypair'.
    connectionId Number
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    role String
    The Snowflake role to use.
    user String
    The Snowflake user name.
    warehouse String
    The Snowflake warehouse to use.
    catalogIngestionEnabled Boolean
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    costInsightsEnabled Boolean
    Whether cost insights is enabled for this credential.
    costOptimizationEnabled Boolean
    Whether cost optimization data collection is enabled for this credential.
    password String
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    passwordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    passwordWoVersion Number
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    privateKey String
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    privateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    privateKeyPassphraseWoVersion Number
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    privateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    privateKeyWoVersion Number
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.

    Outputs

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

    AdapterVersion string
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    CredentialId int
    The ID of the platform metadata credential.
    Id string
    The provider-assigned unique ID for this managed resource.
    AdapterVersion string
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    CredentialId int
    The ID of the platform metadata credential.
    Id string
    The provider-assigned unique ID for this managed resource.
    adapterVersion String
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    credentialId Integer
    The ID of the platform metadata credential.
    id String
    The provider-assigned unique ID for this managed resource.
    adapterVersion string
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    credentialId number
    The ID of the platform metadata credential.
    id string
    The provider-assigned unique ID for this managed resource.
    adapter_version str
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    credential_id int
    The ID of the platform metadata credential.
    id str
    The provider-assigned unique ID for this managed resource.
    adapterVersion String
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    credentialId Number
    The ID of the platform metadata credential.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SnowflakePlatformMetadataCredential Resource

    Get an existing SnowflakePlatformMetadataCredential 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?: SnowflakePlatformMetadataCredentialState, opts?: CustomResourceOptions): SnowflakePlatformMetadataCredential
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adapter_version: Optional[str] = None,
            auth_type: Optional[str] = None,
            catalog_ingestion_enabled: Optional[bool] = None,
            connection_id: Optional[int] = None,
            cost_insights_enabled: Optional[bool] = None,
            cost_optimization_enabled: Optional[bool] = None,
            credential_id: Optional[int] = None,
            password: Optional[str] = None,
            password_wo: Optional[str] = None,
            password_wo_version: Optional[int] = None,
            private_key: Optional[str] = None,
            private_key_passphrase: Optional[str] = None,
            private_key_passphrase_wo: Optional[str] = None,
            private_key_passphrase_wo_version: Optional[int] = None,
            private_key_wo: Optional[str] = None,
            private_key_wo_version: Optional[int] = None,
            role: Optional[str] = None,
            user: Optional[str] = None,
            warehouse: Optional[str] = None) -> SnowflakePlatformMetadataCredential
    func GetSnowflakePlatformMetadataCredential(ctx *Context, name string, id IDInput, state *SnowflakePlatformMetadataCredentialState, opts ...ResourceOption) (*SnowflakePlatformMetadataCredential, error)
    public static SnowflakePlatformMetadataCredential Get(string name, Input<string> id, SnowflakePlatformMetadataCredentialState? state, CustomResourceOptions? opts = null)
    public static SnowflakePlatformMetadataCredential get(String name, Output<String> id, SnowflakePlatformMetadataCredentialState state, CustomResourceOptions options)
    resources:  _:    type: dbtcloud:SnowflakePlatformMetadataCredential    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:
    AdapterVersion string
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    AuthType string
    The authentication type. Must be 'password' or 'keypair'.
    CatalogIngestionEnabled bool
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    ConnectionId int
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    CostInsightsEnabled bool
    Whether cost insights is enabled for this credential.
    CostOptimizationEnabled bool
    Whether cost optimization data collection is enabled for this credential.
    CredentialId int
    The ID of the platform metadata credential.
    Password string
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    PasswordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    PasswordWoVersion int
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    PrivateKey string
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    PrivateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    PrivateKeyPassphraseWoVersion int
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    PrivateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    PrivateKeyWoVersion int
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    Role string
    The Snowflake role to use.
    User string
    The Snowflake user name.
    Warehouse string
    The Snowflake warehouse to use.
    AdapterVersion string
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    AuthType string
    The authentication type. Must be 'password' or 'keypair'.
    CatalogIngestionEnabled bool
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    ConnectionId int
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    CostInsightsEnabled bool
    Whether cost insights is enabled for this credential.
    CostOptimizationEnabled bool
    Whether cost optimization data collection is enabled for this credential.
    CredentialId int
    The ID of the platform metadata credential.
    Password string
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    PasswordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    PasswordWoVersion int
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    PrivateKey string
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    PrivateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    PrivateKeyPassphraseWoVersion int
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    PrivateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    PrivateKeyWoVersion int
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    Role string
    The Snowflake role to use.
    User string
    The Snowflake user name.
    Warehouse string
    The Snowflake warehouse to use.
    adapterVersion String
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    authType String
    The authentication type. Must be 'password' or 'keypair'.
    catalogIngestionEnabled Boolean
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    connectionId Integer
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    costInsightsEnabled Boolean
    Whether cost insights is enabled for this credential.
    costOptimizationEnabled Boolean
    Whether cost optimization data collection is enabled for this credential.
    credentialId Integer
    The ID of the platform metadata credential.
    password String
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    passwordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    passwordWoVersion Integer
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    privateKey String
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    privateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    privateKeyPassphraseWoVersion Integer
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    privateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    privateKeyWoVersion Integer
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    role String
    The Snowflake role to use.
    user String
    The Snowflake user name.
    warehouse String
    The Snowflake warehouse to use.
    adapterVersion string
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    authType string
    The authentication type. Must be 'password' or 'keypair'.
    catalogIngestionEnabled boolean
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    connectionId number
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    costInsightsEnabled boolean
    Whether cost insights is enabled for this credential.
    costOptimizationEnabled boolean
    Whether cost optimization data collection is enabled for this credential.
    credentialId number
    The ID of the platform metadata credential.
    password string
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    passwordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    passwordWoVersion number
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    privateKey string
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase string
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    privateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    privateKeyPassphraseWoVersion number
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    privateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    privateKeyWoVersion number
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    role string
    The Snowflake role to use.
    user string
    The Snowflake user name.
    warehouse string
    The Snowflake warehouse to use.
    adapter_version str
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    auth_type str
    The authentication type. Must be 'password' or 'keypair'.
    catalog_ingestion_enabled bool
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    connection_id int
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    cost_insights_enabled bool
    Whether cost insights is enabled for this credential.
    cost_optimization_enabled bool
    Whether cost optimization data collection is enabled for this credential.
    credential_id int
    The ID of the platform metadata credential.
    password str
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    password_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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    password_wo_version int
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    private_key str
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    private_key_passphrase str
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    private_key_passphrase_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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    private_key_passphrase_wo_version int
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    private_key_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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    private_key_wo_version int
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    role str
    The Snowflake role to use.
    user str
    The Snowflake user name.
    warehouse str
    The Snowflake warehouse to use.
    adapterVersion String
    The adapter version derived from the connection (e.g., 'snowflakev0', 'databricksv0'). This is read-only and determined by the connection.
    authType String
    The authentication type. Must be 'password' or 'keypair'.
    catalogIngestionEnabled Boolean
    Whether catalog ingestion is enabled for this credential. When enabled, dbt Cloud will ingest metadata about tables, views, and other objects from your data warehouse.
    connectionId Number
    The ID of the global connection this credential is associated with. Cannot be changed after creation.
    costInsightsEnabled Boolean
    Whether cost insights is enabled for this credential.
    costOptimizationEnabled Boolean
    Whether cost optimization data collection is enabled for this credential.
    credentialId Number
    The ID of the platform metadata credential.
    password String
    The password for password authentication. Required when authtype is 'password'. Cannot be used with privatekey or privatekeypassphrase. Consider using passwordWo instead, which is not stored in state.
    passwordWo 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 password. The value is not stored in state. Requires passwordWoVersion to trigger updates.
    passwordWoVersion Number
    Version number for passwordWo. Increment this value to trigger an update of the password when using passwordWo.
    privateKey String
    The private key for keypair authentication. Required when authType is 'keypair'. Cannot be used with password. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key, if encrypted. Optional when authType is 'keypair'. Cannot be used with password. Consider using privateKeyPassphraseWo instead, which is not stored in state.
    privateKeyPassphraseWo 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 privateKeyPassphrase. The value is not stored in state. Requires privateKeyPassphraseWoVersion to trigger updates.
    privateKeyPassphraseWoVersion Number
    Version number for privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when using privateKeyPassphraseWo.
    privateKeyWo 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 privateKey. The value is not stored in state. Requires privateKeyWoVersion to trigger updates.
    privateKeyWoVersion Number
    Version number for privateKeyWo. Increment this value to trigger an update of the private key when using privateKeyWo.
    role String
    The Snowflake role to use.
    user String
    The Snowflake user name.
    warehouse String
    The Snowflake warehouse to use.

    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.