dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi
dbtcloud.getSnowflakeCredential
Explore with Pulumi AI
Snowflake credential data source
Using getSnowflakeCredential
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSnowflakeCredential(args: GetSnowflakeCredentialArgs, opts?: InvokeOptions): Promise<GetSnowflakeCredentialResult>
function getSnowflakeCredentialOutput(args: GetSnowflakeCredentialOutputArgs, opts?: InvokeOptions): Output<GetSnowflakeCredentialResult>
def get_snowflake_credential(credential_id: Optional[int] = None,
project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetSnowflakeCredentialResult
def get_snowflake_credential_output(credential_id: Optional[pulumi.Input[int]] = None,
project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnowflakeCredentialResult]
func LookupSnowflakeCredential(ctx *Context, args *LookupSnowflakeCredentialArgs, opts ...InvokeOption) (*LookupSnowflakeCredentialResult, error)
func LookupSnowflakeCredentialOutput(ctx *Context, args *LookupSnowflakeCredentialOutputArgs, opts ...InvokeOption) LookupSnowflakeCredentialResultOutput
> Note: This function is named LookupSnowflakeCredential
in the Go SDK.
public static class GetSnowflakeCredential
{
public static Task<GetSnowflakeCredentialResult> InvokeAsync(GetSnowflakeCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetSnowflakeCredentialResult> Invoke(GetSnowflakeCredentialInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnowflakeCredentialResult> getSnowflakeCredential(GetSnowflakeCredentialArgs args, InvokeOptions options)
public static Output<GetSnowflakeCredentialResult> getSnowflakeCredential(GetSnowflakeCredentialArgs args, InvokeOptions options)
fn::invoke:
function: dbtcloud:index/getSnowflakeCredential:getSnowflakeCredential
arguments:
# arguments dictionary
The following arguments are supported:
- Credential
Id int - Credential ID
- Project
Id int - Project ID
- Credential
Id int - Credential ID
- Project
Id int - Project ID
- credential
Id Integer - Credential ID
- project
Id Integer - Project ID
- credential
Id number - Credential ID
- project
Id number - Project ID
- credential_
id int - Credential ID
- project_
id int - Project ID
- credential
Id Number - Credential ID
- project
Id Number - Project ID
getSnowflakeCredential Result
The following output properties are available:
- Auth
Type string - The type of Snowflake credential ('password' or 'keypair')
- Credential
Id int - Credential ID
- Id string
- The ID of this resource. Contains the project ID and the credential ID.
- Is
Active bool - Whether the Snowflake credential is active
- Num
Threads int - Number of threads to use
- Project
Id int - Project ID
- Schema string
- The schema where to create models
- User string
- Username for Snowflake
- Auth
Type string - The type of Snowflake credential ('password' or 'keypair')
- Credential
Id int - Credential ID
- Id string
- The ID of this resource. Contains the project ID and the credential ID.
- Is
Active bool - Whether the Snowflake credential is active
- Num
Threads int - Number of threads to use
- Project
Id int - Project ID
- Schema string
- The schema where to create models
- User string
- Username for Snowflake
- auth
Type String - The type of Snowflake credential ('password' or 'keypair')
- credential
Id Integer - Credential ID
- id String
- The ID of this resource. Contains the project ID and the credential ID.
- is
Active Boolean - Whether the Snowflake credential is active
- num
Threads Integer - Number of threads to use
- project
Id Integer - Project ID
- schema String
- The schema where to create models
- user String
- Username for Snowflake
- auth
Type string - The type of Snowflake credential ('password' or 'keypair')
- credential
Id number - Credential ID
- id string
- The ID of this resource. Contains the project ID and the credential ID.
- is
Active boolean - Whether the Snowflake credential is active
- num
Threads number - Number of threads to use
- project
Id number - Project ID
- schema string
- The schema where to create models
- user string
- Username for Snowflake
- auth_
type str - The type of Snowflake credential ('password' or 'keypair')
- credential_
id int - Credential ID
- id str
- The ID of this resource. Contains the project ID and the credential ID.
- is_
active bool - Whether the Snowflake credential is active
- num_
threads int - Number of threads to use
- project_
id int - Project ID
- schema str
- The schema where to create models
- user str
- Username for Snowflake
- auth
Type String - The type of Snowflake credential ('password' or 'keypair')
- credential
Id Number - Credential ID
- id String
- The ID of this resource. Contains the project ID and the credential ID.
- is
Active Boolean - Whether the Snowflake credential is active
- num
Threads Number - Number of threads to use
- project
Id Number - Project ID
- schema String
- The schema where to create models
- user String
- Username for Snowflake
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.