1. Packages
  2. Packages
  3. dbt Cloud Provider
  4. API Docs
  5. SnowflakeCredential
Viewing docs for dbt Cloud v1.8.0
published on Wednesday, Apr 15, 2026 by Pulumi
dbtcloud logo
Viewing docs for dbt Cloud v1.8.0
published on Wednesday, Apr 15, 2026 by Pulumi

    Snowflake credential resource. This resource is used both as a stand-alone credential, but also as part of the Semantic Layer credential definition for Snowflake.

    Create SnowflakeCredential Resource

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

    Constructor syntax

    new SnowflakeCredential(name: string, args: SnowflakeCredentialArgs, opts?: CustomResourceOptions);
    @overload
    def SnowflakeCredential(resource_name: str,
                            args: SnowflakeCredentialArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SnowflakeCredential(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            num_threads: Optional[int] = None,
                            project_id: Optional[int] = None,
                            auth_type: Optional[str] = None,
                            private_key_passphrase: Optional[str] = None,
                            private_key_passphrase_wo_version: Optional[int] = None,
                            password_wo: Optional[str] = None,
                            password_wo_version: Optional[int] = None,
                            private_key: Optional[str] = None,
                            is_active: Optional[bool] = None,
                            private_key_passphrase_wo: Optional[str] = None,
                            password: Optional[str] = None,
                            private_key_wo: Optional[str] = None,
                            private_key_wo_version: Optional[int] = None,
                            database: Optional[str] = None,
                            role: Optional[str] = None,
                            schema: Optional[str] = None,
                            semantic_layer_credential: Optional[bool] = None,
                            user: Optional[str] = None,
                            warehouse: Optional[str] = None)
    func NewSnowflakeCredential(ctx *Context, name string, args SnowflakeCredentialArgs, opts ...ResourceOption) (*SnowflakeCredential, error)
    public SnowflakeCredential(string name, SnowflakeCredentialArgs args, CustomResourceOptions? opts = null)
    public SnowflakeCredential(String name, SnowflakeCredentialArgs args)
    public SnowflakeCredential(String name, SnowflakeCredentialArgs args, CustomResourceOptions options)
    
    type: dbtcloud:SnowflakeCredential
    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 SnowflakeCredentialArgs
    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 SnowflakeCredentialArgs
    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 SnowflakeCredentialArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SnowflakeCredentialArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SnowflakeCredentialArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AuthType string
    The type of Snowflake credential ('password' or 'keypair')
    NumThreads int
    Number of threads to use
    ProjectId int
    Project ID to create the Snowflake credential in
    Database string
    The catalog to connect use
    IsActive bool
    Whether the Snowflake credential is active
    Password string
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key. 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 role to assume
    Schema string
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    SemanticLayerCredential bool
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    User string
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    Warehouse string
    The warehouse to use
    AuthType string
    The type of Snowflake credential ('password' or 'keypair')
    NumThreads int
    Number of threads to use
    ProjectId int
    Project ID to create the Snowflake credential in
    Database string
    The catalog to connect use
    IsActive bool
    Whether the Snowflake credential is active
    Password string
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key. 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 role to assume
    Schema string
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    SemanticLayerCredential bool
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    User string
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    Warehouse string
    The warehouse to use
    authType String
    The type of Snowflake credential ('password' or 'keypair')
    numThreads Integer
    Number of threads to use
    projectId Integer
    Project ID to create the Snowflake credential in
    database String
    The catalog to connect use
    isActive Boolean
    Whether the Snowflake credential is active
    password String
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key. 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 role to assume
    schema String
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semanticLayerCredential Boolean
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user String
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse String
    The warehouse to use
    authType string
    The type of Snowflake credential ('password' or 'keypair')
    numThreads number
    Number of threads to use
    projectId number
    Project ID to create the Snowflake credential in
    database string
    The catalog to connect use
    isActive boolean
    Whether the Snowflake credential is active
    password string
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase string
    The passphrase for the private key. 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 role to assume
    schema string
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semanticLayerCredential boolean
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user string
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse string
    The warehouse to use
    auth_type str
    The type of Snowflake credential ('password' or 'keypair')
    num_threads int
    Number of threads to use
    project_id int
    Project ID to create the Snowflake credential in
    database str
    The catalog to connect use
    is_active bool
    Whether the Snowflake credential is active
    password str
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    private_key_passphrase str
    The passphrase for the private key. 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 role to assume
    schema str
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semantic_layer_credential bool
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user str
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse str
    The warehouse to use
    authType String
    The type of Snowflake credential ('password' or 'keypair')
    numThreads Number
    Number of threads to use
    projectId Number
    Project ID to create the Snowflake credential in
    database String
    The catalog to connect use
    isActive Boolean
    Whether the Snowflake credential is active
    password String
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key. 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 role to assume
    schema String
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semanticLayerCredential Boolean
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user String
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse String
    The warehouse to use

    Outputs

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

    CredentialId int
    The internal credential ID
    Id string
    The provider-assigned unique ID for this managed resource.
    CredentialId int
    The internal credential ID
    Id string
    The provider-assigned unique ID for this managed resource.
    credentialId Integer
    The internal credential ID
    id String
    The provider-assigned unique ID for this managed resource.
    credentialId number
    The internal credential ID
    id string
    The provider-assigned unique ID for this managed resource.
    credential_id int
    The internal credential ID
    id str
    The provider-assigned unique ID for this managed resource.
    credentialId Number
    The internal credential ID
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SnowflakeCredential Resource

    Get an existing SnowflakeCredential 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?: SnowflakeCredentialState, opts?: CustomResourceOptions): SnowflakeCredential
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_type: Optional[str] = None,
            credential_id: Optional[int] = None,
            database: Optional[str] = None,
            is_active: Optional[bool] = None,
            num_threads: 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,
            project_id: Optional[int] = None,
            role: Optional[str] = None,
            schema: Optional[str] = None,
            semantic_layer_credential: Optional[bool] = None,
            user: Optional[str] = None,
            warehouse: Optional[str] = None) -> SnowflakeCredential
    func GetSnowflakeCredential(ctx *Context, name string, id IDInput, state *SnowflakeCredentialState, opts ...ResourceOption) (*SnowflakeCredential, error)
    public static SnowflakeCredential Get(string name, Input<string> id, SnowflakeCredentialState? state, CustomResourceOptions? opts = null)
    public static SnowflakeCredential get(String name, Output<String> id, SnowflakeCredentialState state, CustomResourceOptions options)
    resources:  _:    type: dbtcloud:SnowflakeCredential    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:
    AuthType string
    The type of Snowflake credential ('password' or 'keypair')
    CredentialId int
    The internal credential ID
    Database string
    The catalog to connect use
    IsActive bool
    Whether the Snowflake credential is active
    NumThreads int
    Number of threads to use
    Password string
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key. 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.
    ProjectId int
    Project ID to create the Snowflake credential in
    Role string
    The role to assume
    Schema string
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    SemanticLayerCredential bool
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    User string
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    Warehouse string
    The warehouse to use
    AuthType string
    The type of Snowflake credential ('password' or 'keypair')
    CredentialId int
    The internal credential ID
    Database string
    The catalog to connect use
    IsActive bool
    Whether the Snowflake credential is active
    NumThreads int
    Number of threads to use
    Password string
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    PrivateKeyPassphrase string
    The passphrase for the private key. 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.
    ProjectId int
    Project ID to create the Snowflake credential in
    Role string
    The role to assume
    Schema string
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    SemanticLayerCredential bool
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    User string
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    Warehouse string
    The warehouse to use
    authType String
    The type of Snowflake credential ('password' or 'keypair')
    credentialId Integer
    The internal credential ID
    database String
    The catalog to connect use
    isActive Boolean
    Whether the Snowflake credential is active
    numThreads Integer
    Number of threads to use
    password String
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key. 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.
    projectId Integer
    Project ID to create the Snowflake credential in
    role String
    The role to assume
    schema String
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semanticLayerCredential Boolean
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user String
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse String
    The warehouse to use
    authType string
    The type of Snowflake credential ('password' or 'keypair')
    credentialId number
    The internal credential ID
    database string
    The catalog to connect use
    isActive boolean
    Whether the Snowflake credential is active
    numThreads number
    Number of threads to use
    password string
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase string
    The passphrase for the private key. 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.
    projectId number
    Project ID to create the Snowflake credential in
    role string
    The role to assume
    schema string
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semanticLayerCredential boolean
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user string
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse string
    The warehouse to use
    auth_type str
    The type of Snowflake credential ('password' or 'keypair')
    credential_id int
    The internal credential ID
    database str
    The catalog to connect use
    is_active bool
    Whether the Snowflake credential is active
    num_threads int
    Number of threads to use
    password str
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    private_key_passphrase str
    The passphrase for the private key. 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.
    project_id int
    Project ID to create the Snowflake credential in
    role str
    The role to assume
    schema str
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semantic_layer_credential bool
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user str
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse str
    The warehouse to use
    authType String
    The type of Snowflake credential ('password' or 'keypair')
    credentialId Number
    The internal credential ID
    database String
    The catalog to connect use
    isActive Boolean
    Whether the Snowflake credential is active
    numThreads Number
    Number of threads to use
    password String
    The password for the Snowflake account. 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 the Snowflake account. Consider using privateKeyWo instead, which is not stored in state.
    privateKeyPassphrase String
    The passphrase for the private key. 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.
    projectId Number
    Project ID to create the Snowflake credential in
    role String
    The role to assume
    schema String
    The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    semanticLayerCredential Boolean
    This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
    user String
    The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
    warehouse String
    The warehouse to use

    Import

    using import blocks (requires Terraform >= 1.5) import { to = dbtcloud_snowflake_credential.prod_snowflake_credential id = “project_id:credential_id” }

    import { to = dbtcloud_snowflake_credential.prod_snowflake_credential id = “12345:6789” }

    using the older import command

    $ pulumi import dbtcloud:index/snowflakeCredential:SnowflakeCredential prod_snowflake_credential "project_id:credential_id"
    $ pulumi import dbtcloud:index/snowflakeCredential:SnowflakeCredential prod_snowflake_credential 12345:6789
    

    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.0
    published on Wednesday, Apr 15, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.