1. Registry
  2. Packages
  3. dbt Cloud Provider
  4. API Docs
  5. getClickhouseCredential
Viewing docs for dbt Cloud v1.11.11
published on Saturday, Oct 17, 2026 by Pulumi
dbtcloud logo dbt Cloud
Viewing docs for dbt Cloud v1.11.11
published on Saturday, Oct 17, 2026 by Pulumi

    ClickHouse credential data source

    Using getClickhouseCredential

    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 getClickhouseCredential(args: GetClickhouseCredentialArgs, opts?: InvokeOptions): Promise<GetClickhouseCredentialResult>
    function getClickhouseCredentialOutput(args: GetClickhouseCredentialOutputArgs, opts?: InvokeOutputOptions): Output<GetClickhouseCredentialResult>
    def get_clickhouse_credential(credential_id: Optional[int] = None,
                                  project_id: Optional[int] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetClickhouseCredentialResult
    def get_clickhouse_credential_output(credential_id: pulumi.Input[Optional[int]] = None,
                                  project_id: pulumi.Input[Optional[int]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetClickhouseCredentialResult]
    func LookupClickhouseCredential(ctx *Context, args *LookupClickhouseCredentialArgs, opts ...InvokeOption) (*LookupClickhouseCredentialResult, error)
    func LookupClickhouseCredentialOutput(ctx *Context, args *LookupClickhouseCredentialOutputArgs, opts ...InvokeOption) LookupClickhouseCredentialResultOutput

    > Note: This function is named LookupClickhouseCredential in the Go SDK.

    public static class GetClickhouseCredential 
    {
        public static Task<GetClickhouseCredentialResult> InvokeAsync(GetClickhouseCredentialArgs args, InvokeOptions? opts = null)
        public static Output<GetClickhouseCredentialResult> Invoke(GetClickhouseCredentialInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetClickhouseCredentialResult> Invoke(GetClickhouseCredentialInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetClickhouseCredentialResult> getClickhouseCredential(GetClickhouseCredentialArgs args, InvokeOptions options)
    public static Output<GetClickhouseCredentialResult> getClickhouseCredential(GetClickhouseCredentialArgs args, InvokeOptions options)
    public static Output<GetClickhouseCredentialResult> getClickhouseCredential(GetClickhouseCredentialArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: dbtcloud:index/getClickhouseCredential:getClickhouseCredential
      arguments:
        # arguments dictionary
    data "dbtcloud_get_clickhouse_credential" "name" {
        # arguments
    }

    The following arguments are supported:

    CredentialId int
    Credential ID
    ProjectId int
    Project ID
    CredentialId int
    Credential ID
    ProjectId int
    Project ID
    credential_id number
    Credential ID
    project_id number
    Project ID
    credentialId Integer
    Credential ID
    projectId Integer
    Project ID
    credentialId number
    Credential ID
    projectId number
    Project ID
    credential_id int
    Credential ID
    project_id int
    Project ID
    credentialId Number
    Credential ID
    projectId Number
    Project ID

    getClickhouseCredential Result

    The following output properties are available:

    CredentialId int
    Credential ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    ProjectId int
    Project ID
    Schema string
    The schema where to create the dbt models
    TargetName string
    Target name
    Threads int
    The number of threads to use for dbt operations
    User string
    The ClickHouse username
    CredentialId int
    Credential ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    ProjectId int
    Project ID
    Schema string
    The schema where to create the dbt models
    TargetName string
    Target name
    Threads int
    The number of threads to use for dbt operations
    User string
    The ClickHouse username
    credential_id number
    Credential ID
    id string
    The ID of this resource. Contains the project ID and the credential ID.
    project_id number
    Project ID
    schema string
    The schema where to create the dbt models
    target_name string
    Target name
    threads number
    The number of threads to use for dbt operations
    user string
    The ClickHouse username
    credentialId Integer
    Credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    projectId Integer
    Project ID
    schema String
    The schema where to create the dbt models
    targetName String
    Target name
    threads Integer
    The number of threads to use for dbt operations
    user String
    The ClickHouse username
    credentialId number
    Credential ID
    id string
    The ID of this resource. Contains the project ID and the credential ID.
    projectId number
    Project ID
    schema string
    The schema where to create the dbt models
    targetName string
    Target name
    threads number
    The number of threads to use for dbt operations
    user string
    The ClickHouse username
    credential_id int
    Credential ID
    id str
    The ID of this resource. Contains the project ID and the credential ID.
    project_id int
    Project ID
    schema str
    The schema where to create the dbt models
    target_name str
    Target name
    threads int
    The number of threads to use for dbt operations
    user str
    The ClickHouse username
    credentialId Number
    Credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    projectId Number
    Project ID
    schema String
    The schema where to create the dbt models
    targetName String
    Target name
    threads Number
    The number of threads to use for dbt operations
    user String
    The ClickHouse username

    Package Details

    Repository
    dbtcloud pulumi/pulumi-dbtcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dbtcloud Terraform Provider.
    dbtcloud logo dbt Cloud
    Viewing docs for dbt Cloud v1.11.11
    published on Saturday, Oct 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial