1. Packages
  2. dbt Cloud Provider
  3. API Docs
  4. getSalesforceCredential
Viewing docs for dbt Cloud v1.6.1
published on Thursday, Feb 26, 2026 by Pulumi
dbtcloud logo
Viewing docs for dbt Cloud v1.6.1
published on Thursday, Feb 26, 2026 by Pulumi

    Salesforce credential data source

    Using getSalesforceCredential

    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 getSalesforceCredential(args: GetSalesforceCredentialArgs, opts?: InvokeOptions): Promise<GetSalesforceCredentialResult>
    function getSalesforceCredentialOutput(args: GetSalesforceCredentialOutputArgs, opts?: InvokeOptions): Output<GetSalesforceCredentialResult>
    def get_salesforce_credential(credential_id: Optional[int] = None,
                                  project_id: Optional[int] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSalesforceCredentialResult
    def get_salesforce_credential_output(credential_id: Optional[pulumi.Input[int]] = None,
                                  project_id: Optional[pulumi.Input[int]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSalesforceCredentialResult]
    func LookupSalesforceCredential(ctx *Context, args *LookupSalesforceCredentialArgs, opts ...InvokeOption) (*LookupSalesforceCredentialResult, error)
    func LookupSalesforceCredentialOutput(ctx *Context, args *LookupSalesforceCredentialOutputArgs, opts ...InvokeOption) LookupSalesforceCredentialResultOutput

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

    public static class GetSalesforceCredential 
    {
        public static Task<GetSalesforceCredentialResult> InvokeAsync(GetSalesforceCredentialArgs args, InvokeOptions? opts = null)
        public static Output<GetSalesforceCredentialResult> Invoke(GetSalesforceCredentialInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSalesforceCredentialResult> getSalesforceCredential(GetSalesforceCredentialArgs args, InvokeOptions options)
    public static Output<GetSalesforceCredentialResult> getSalesforceCredential(GetSalesforceCredentialArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dbtcloud:index/getSalesforceCredential:getSalesforceCredential
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CredentialId int
    Credential ID
    ProjectId int
    Project ID
    CredentialId int
    Credential ID
    ProjectId int
    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

    getSalesforceCredential 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.
    NumThreads int
    The number of threads to use for dbt operations
    ProjectId int
    Project ID
    TargetName string
    Target name
    Username string
    The Salesforce username for OAuth JWT bearer flow authentication
    CredentialId int
    Credential ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    NumThreads int
    The number of threads to use for dbt operations
    ProjectId int
    Project ID
    TargetName string
    Target name
    Username string
    The Salesforce username for OAuth JWT bearer flow authentication
    credentialId Integer
    Credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    numThreads Integer
    The number of threads to use for dbt operations
    projectId Integer
    Project ID
    targetName String
    Target name
    username String
    The Salesforce username for OAuth JWT bearer flow authentication
    credentialId number
    Credential ID
    id string
    The ID of this resource. Contains the project ID and the credential ID.
    numThreads number
    The number of threads to use for dbt operations
    projectId number
    Project ID
    targetName string
    Target name
    username string
    The Salesforce username for OAuth JWT bearer flow authentication
    credential_id int
    Credential ID
    id str
    The ID of this resource. Contains the project ID and the credential ID.
    num_threads int
    The number of threads to use for dbt operations
    project_id int
    Project ID
    target_name str
    Target name
    username str
    The Salesforce username for OAuth JWT bearer flow authentication
    credentialId Number
    Credential ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    numThreads Number
    The number of threads to use for dbt operations
    projectId Number
    Project ID
    targetName String
    Target name
    username String
    The Salesforce username for OAuth JWT bearer flow authentication

    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.6.1
    published on Thursday, Feb 26, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.