published on Wednesday, Apr 15, 2026 by Pulumi
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:
- Auth
Type string - 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 string
- The catalog to connect use
- Is
Active bool - Whether the Snowflake credential is active
- Password string
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - Password
Wo 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. RequirespasswordWoVersionto trigger updates. - Password
Wo intVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - Private
Key string - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - Private
Key stringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - Private
Key stringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - Private
Key intPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - Private
Key stringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - Private
Key intWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - 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.
- Semantic
Layer boolCredential - 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 string - 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 string
- The catalog to connect use
- Is
Active bool - Whether the Snowflake credential is active
- Password string
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - Password
Wo 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. RequirespasswordWoVersionto trigger updates. - Password
Wo intVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - Private
Key string - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - Private
Key stringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - Private
Key stringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - Private
Key intPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - Private
Key stringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - Private
Key intWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - 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.
- Semantic
Layer boolCredential - 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 String - The type of Snowflake credential ('password' or 'keypair')
- num
Threads Integer - Number of threads to use
- project
Id Integer - Project ID to create the Snowflake credential in
- database String
- The catalog to connect use
- is
Active Boolean - Whether the Snowflake credential is active
- password String
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - password
Wo 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. RequirespasswordWoVersionto trigger updates. - password
Wo IntegerVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private
Key String - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key StringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private
Key StringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private
Key IntegerPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private
Key StringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - private
Key IntegerWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - 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.
- semantic
Layer BooleanCredential - 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 string - The type of Snowflake credential ('password' or 'keypair')
- num
Threads number - Number of threads to use
- project
Id number - Project ID to create the Snowflake credential in
- database string
- The catalog to connect use
- is
Active boolean - Whether the Snowflake credential is active
- password string
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - password
Wo 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. RequirespasswordWoVersionto trigger updates. - password
Wo numberVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private
Key string - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key stringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private
Key stringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private
Key numberPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private
Key stringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - private
Key numberWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - 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.
- semantic
Layer booleanCredential - 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
passwordWoinstead, 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. RequirespasswordWoVersionto trigger updates. - password_
wo_ intversion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private_
key str - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private_
key_ strpassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private_
key_ strpassphrase_ wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private_
key_ intpassphrase_ wo_ version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private_
key_ strwo - 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. RequiresprivateKeyWoVersionto trigger updates. - private_
key_ intwo_ version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - 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_ boolcredential - 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
- auth
Type String - The type of Snowflake credential ('password' or 'keypair')
- num
Threads Number - Number of threads to use
- project
Id Number - Project ID to create the Snowflake credential in
- database String
- The catalog to connect use
- is
Active Boolean - Whether the Snowflake credential is active
- password String
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - password
Wo 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. RequirespasswordWoVersionto trigger updates. - password
Wo NumberVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private
Key String - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key StringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private
Key StringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private
Key NumberPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private
Key StringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - private
Key NumberWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - 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.
- semantic
Layer BooleanCredential - 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:
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- credential
Id Integer - The internal credential ID
- id String
- The provider-assigned unique ID for this managed resource.
- credential
Id 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.
- credential
Id 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) -> SnowflakeCredentialfunc 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.
- Auth
Type string - The type of Snowflake credential ('password' or 'keypair')
- Credential
Id int - The internal credential ID
- Database string
- The catalog to connect use
- Is
Active bool - Whether the Snowflake credential is active
- Num
Threads int - Number of threads to use
- Password string
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - Password
Wo 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. RequirespasswordWoVersionto trigger updates. - Password
Wo intVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - Private
Key string - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - Private
Key stringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - Private
Key stringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - Private
Key intPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - Private
Key stringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - Private
Key intWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - Project
Id 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.
- Semantic
Layer boolCredential - 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 string - The type of Snowflake credential ('password' or 'keypair')
- Credential
Id int - The internal credential ID
- Database string
- The catalog to connect use
- Is
Active bool - Whether the Snowflake credential is active
- Num
Threads int - Number of threads to use
- Password string
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - Password
Wo 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. RequirespasswordWoVersionto trigger updates. - Password
Wo intVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - Private
Key string - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - Private
Key stringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - Private
Key stringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - Private
Key intPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - Private
Key stringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - Private
Key intWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - Project
Id 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.
- Semantic
Layer boolCredential - 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 String - The type of Snowflake credential ('password' or 'keypair')
- credential
Id Integer - The internal credential ID
- database String
- The catalog to connect use
- is
Active Boolean - Whether the Snowflake credential is active
- num
Threads Integer - Number of threads to use
- password String
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - password
Wo 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. RequirespasswordWoVersionto trigger updates. - password
Wo IntegerVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private
Key String - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key StringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private
Key StringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private
Key IntegerPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private
Key StringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - private
Key IntegerWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - project
Id 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.
- semantic
Layer BooleanCredential - 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 string - The type of Snowflake credential ('password' or 'keypair')
- credential
Id number - The internal credential ID
- database string
- The catalog to connect use
- is
Active boolean - Whether the Snowflake credential is active
- num
Threads number - Number of threads to use
- password string
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - password
Wo 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. RequirespasswordWoVersionto trigger updates. - password
Wo numberVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private
Key string - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key stringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private
Key stringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private
Key numberPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private
Key stringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - private
Key numberWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - project
Id 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.
- semantic
Layer booleanCredential - 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
passwordWoinstead, 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. RequirespasswordWoVersionto trigger updates. - password_
wo_ intversion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private_
key str - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private_
key_ strpassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private_
key_ strpassphrase_ wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private_
key_ intpassphrase_ wo_ version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private_
key_ strwo - 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. RequiresprivateKeyWoVersionto trigger updates. - private_
key_ intwo_ version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - 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_ boolcredential - 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
- auth
Type String - The type of Snowflake credential ('password' or 'keypair')
- credential
Id Number - The internal credential ID
- database String
- The catalog to connect use
- is
Active Boolean - Whether the Snowflake credential is active
- num
Threads Number - Number of threads to use
- password String
- The password for the Snowflake account. Consider using
passwordWoinstead, which is not stored in state. - password
Wo 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. RequirespasswordWoVersionto trigger updates. - password
Wo NumberVersion - Version number for
passwordWo. Increment this value to trigger an update of the password when usingpasswordWo. - private
Key String - The private key for the Snowflake account. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key StringPassphrase - The passphrase for the private key. Consider using
privateKeyPassphraseWoinstead, which is not stored in state. - private
Key StringPassphrase Wo - 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. RequiresprivateKeyPassphraseWoVersionto trigger updates. - private
Key NumberPassphrase Wo Version - Version number for
privateKeyPassphraseWo. Increment this value to trigger an update of the private key passphrase when usingprivateKeyPassphraseWo. - private
Key StringWo - 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. RequiresprivateKeyWoVersionto trigger updates. - private
Key NumberWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - project
Id 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.
- semantic
Layer BooleanCredential - 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
dbtcloudTerraform Provider.
published on Wednesday, Apr 15, 2026 by Pulumi
