1. Packages
  2. Packages
  3. dbt Cloud Provider
  4. API Docs
  5. SalesforceCredential
Viewing docs for dbt Cloud v1.8.1
published on Friday, May 8, 2026 by Pulumi
dbtcloud logo
Viewing docs for dbt Cloud v1.8.1
published on Friday, May 8, 2026 by Pulumi

    Salesforce credential resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dbtcloud from "@pulumi/dbtcloud";
    
    // Using the classic sensitive attributes (stored in state)
    const mySalesforceCred = new dbtcloud.SalesforceCredential("my_salesforce_cred", {
        projectId: dbtProject.id,
        username: "user@example.com",
        clientId: "your-oauth-client-id",
        privateKey: "private-key value",
        targetName: "default",
        numThreads: 6,
    });
    const config = new pulumi.Config();
    const salesforceClientId = config.require("salesforceClientId");
    const salesforcePrivateKey = config.require("salesforcePrivateKey");
    const mySalesforceCredWo = new dbtcloud.SalesforceCredential("my_salesforce_cred_wo", {
        projectId: dbtProject.id,
        username: "user@example.com",
        clientIdWo: salesforceClientId,
        clientIdWoVersion: 1,
        privateKeyWo: salesforcePrivateKey,
        privateKeyWoVersion: 1,
        targetName: "default",
        numThreads: 6,
    });
    
    import pulumi
    import pulumi_dbtcloud as dbtcloud
    
    # Using the classic sensitive attributes (stored in state)
    my_salesforce_cred = dbtcloud.SalesforceCredential("my_salesforce_cred",
        project_id=dbt_project["id"],
        username="user@example.com",
        client_id="your-oauth-client-id",
        private_key="private-key value",
        target_name="default",
        num_threads=6)
    config = pulumi.Config()
    salesforce_client_id = config.require("salesforceClientId")
    salesforce_private_key = config.require("salesforcePrivateKey")
    my_salesforce_cred_wo = dbtcloud.SalesforceCredential("my_salesforce_cred_wo",
        project_id=dbt_project["id"],
        username="user@example.com",
        client_id_wo=salesforce_client_id,
        client_id_wo_version=1,
        private_key_wo=salesforce_private_key,
        private_key_wo_version=1,
        target_name="default",
        num_threads=6)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Using the classic sensitive attributes (stored in state)
    		_, err := dbtcloud.NewSalesforceCredential(ctx, "my_salesforce_cred", &dbtcloud.SalesforceCredentialArgs{
    			ProjectId:  pulumi.Any(dbtProject.Id),
    			Username:   pulumi.String("user@example.com"),
    			ClientId:   pulumi.String("your-oauth-client-id"),
    			PrivateKey: pulumi.String("private-key value"),
    			TargetName: pulumi.String("default"),
    			NumThreads: pulumi.Int(6),
    		})
    		if err != nil {
    			return err
    		}
    		cfg := config.New(ctx, "")
    		salesforceClientId := cfg.Require("salesforceClientId")
    		salesforcePrivateKey := cfg.Require("salesforcePrivateKey")
    		_, err = dbtcloud.NewSalesforceCredential(ctx, "my_salesforce_cred_wo", &dbtcloud.SalesforceCredentialArgs{
    			ProjectId:           pulumi.Any(dbtProject.Id),
    			Username:            pulumi.String("user@example.com"),
    			ClientIdWo:          pulumi.String(pulumi.String(salesforceClientId)),
    			ClientIdWoVersion:   pulumi.Int(1),
    			PrivateKeyWo:        pulumi.String(pulumi.String(salesforcePrivateKey)),
    			PrivateKeyWoVersion: pulumi.Int(1),
    			TargetName:          pulumi.String("default"),
    			NumThreads:          pulumi.Int(6),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DbtCloud = Pulumi.DbtCloud;
    
    return await Deployment.RunAsync(() => 
    {
        // Using the classic sensitive attributes (stored in state)
        var mySalesforceCred = new DbtCloud.Index.SalesforceCredential("my_salesforce_cred", new()
        {
            ProjectId = dbtProject.Id,
            Username = "user@example.com",
            ClientId = "your-oauth-client-id",
            PrivateKey = "private-key value",
            TargetName = "default",
            NumThreads = 6,
        });
    
        var config = new Config();
        var salesforceClientId = config.Require("salesforceClientId");
        var salesforcePrivateKey = config.Require("salesforcePrivateKey");
        var mySalesforceCredWo = new DbtCloud.Index.SalesforceCredential("my_salesforce_cred_wo", new()
        {
            ProjectId = dbtProject.Id,
            Username = "user@example.com",
            ClientIdWo = salesforceClientId,
            ClientIdWoVersion = 1,
            PrivateKeyWo = salesforcePrivateKey,
            PrivateKeyWoVersion = 1,
            TargetName = "default",
            NumThreads = 6,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dbtcloud.SalesforceCredential;
    import com.pulumi.dbtcloud.SalesforceCredentialArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            // Using the classic sensitive attributes (stored in state)
            var mySalesforceCred = new SalesforceCredential("mySalesforceCred", SalesforceCredentialArgs.builder()
                .projectId(dbtProject.id())
                .username("user@example.com")
                .clientId("your-oauth-client-id")
                .privateKey("private-key value")
                .targetName("default")
                .numThreads(6)
                .build());
    
            final var salesforceClientId = config.require("salesforceClientId");
            final var salesforcePrivateKey = config.require("salesforcePrivateKey");
            var mySalesforceCredWo = new SalesforceCredential("mySalesforceCredWo", SalesforceCredentialArgs.builder()
                .projectId(dbtProject.id())
                .username("user@example.com")
                .clientIdWo(salesforceClientId)
                .clientIdWoVersion(1)
                .privateKeyWo(salesforcePrivateKey)
                .privateKeyWoVersion(1)
                .targetName("default")
                .numThreads(6)
                .build());
    
        }
    }
    
    configuration:
      # Using write-only attributes (not stored in state, requires Terraform >= 1.11)
      # //
      # // The client_id_wo and private_key_wo values are never persisted in the Terraform state file.
      # // Use client_id_wo_version / private_key_wo_version to trigger an update when the secret changes.
      salesforceClientId:
        type: string
      salesforcePrivateKey:
        type: string
    resources:
      # Using the classic sensitive attributes (stored in state)
      mySalesforceCred:
        type: dbtcloud:SalesforceCredential
        name: my_salesforce_cred
        properties:
          projectId: ${dbtProject.id}
          username: user@example.com
          clientId: your-oauth-client-id
          privateKey: private-key value
          targetName: default
          numThreads: 6
      mySalesforceCredWo:
        type: dbtcloud:SalesforceCredential
        name: my_salesforce_cred_wo
        properties:
          projectId: ${dbtProject.id}
          username: user@example.com
          clientIdWo: ${salesforceClientId}
          clientIdWoVersion: 1
          privateKeyWo: ${salesforcePrivateKey}
          privateKeyWoVersion: 1
          targetName: default
          numThreads: 6
    

    Create SalesforceCredential Resource

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

    Constructor syntax

    new SalesforceCredential(name: string, args: SalesforceCredentialArgs, opts?: CustomResourceOptions);
    @overload
    def SalesforceCredential(resource_name: str,
                             args: SalesforceCredentialArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def SalesforceCredential(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             project_id: Optional[int] = None,
                             username: Optional[str] = None,
                             client_id: Optional[str] = None,
                             client_id_wo: Optional[str] = None,
                             client_id_wo_version: Optional[int] = None,
                             num_threads: Optional[int] = None,
                             private_key: Optional[str] = None,
                             private_key_wo: Optional[str] = None,
                             private_key_wo_version: Optional[int] = None,
                             target_name: Optional[str] = None)
    func NewSalesforceCredential(ctx *Context, name string, args SalesforceCredentialArgs, opts ...ResourceOption) (*SalesforceCredential, error)
    public SalesforceCredential(string name, SalesforceCredentialArgs args, CustomResourceOptions? opts = null)
    public SalesforceCredential(String name, SalesforceCredentialArgs args)
    public SalesforceCredential(String name, SalesforceCredentialArgs args, CustomResourceOptions options)
    
    type: dbtcloud:SalesforceCredential
    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 SalesforceCredentialArgs
    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 SalesforceCredentialArgs
    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 SalesforceCredentialArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SalesforceCredentialArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SalesforceCredentialArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var salesforceCredentialResource = new DbtCloud.SalesforceCredential("salesforceCredentialResource", new()
    {
        ProjectId = 0,
        Username = "string",
        ClientId = "string",
        ClientIdWo = "string",
        ClientIdWoVersion = 0,
        NumThreads = 0,
        PrivateKey = "string",
        PrivateKeyWo = "string",
        PrivateKeyWoVersion = 0,
        TargetName = "string",
    });
    
    example, err := dbtcloud.NewSalesforceCredential(ctx, "salesforceCredentialResource", &dbtcloud.SalesforceCredentialArgs{
    	ProjectId:           pulumi.Int(0),
    	Username:            pulumi.String("string"),
    	ClientId:            pulumi.String("string"),
    	ClientIdWo:          pulumi.String("string"),
    	ClientIdWoVersion:   pulumi.Int(0),
    	NumThreads:          pulumi.Int(0),
    	PrivateKey:          pulumi.String("string"),
    	PrivateKeyWo:        pulumi.String("string"),
    	PrivateKeyWoVersion: pulumi.Int(0),
    	TargetName:          pulumi.String("string"),
    })
    
    var salesforceCredentialResource = new SalesforceCredential("salesforceCredentialResource", SalesforceCredentialArgs.builder()
        .projectId(0)
        .username("string")
        .clientId("string")
        .clientIdWo("string")
        .clientIdWoVersion(0)
        .numThreads(0)
        .privateKey("string")
        .privateKeyWo("string")
        .privateKeyWoVersion(0)
        .targetName("string")
        .build());
    
    salesforce_credential_resource = dbtcloud.SalesforceCredential("salesforceCredentialResource",
        project_id=0,
        username="string",
        client_id="string",
        client_id_wo="string",
        client_id_wo_version=0,
        num_threads=0,
        private_key="string",
        private_key_wo="string",
        private_key_wo_version=0,
        target_name="string")
    
    const salesforceCredentialResource = new dbtcloud.SalesforceCredential("salesforceCredentialResource", {
        projectId: 0,
        username: "string",
        clientId: "string",
        clientIdWo: "string",
        clientIdWoVersion: 0,
        numThreads: 0,
        privateKey: "string",
        privateKeyWo: "string",
        privateKeyWoVersion: 0,
        targetName: "string",
    });
    
    type: dbtcloud:SalesforceCredential
    properties:
        clientId: string
        clientIdWo: string
        clientIdWoVersion: 0
        numThreads: 0
        privateKey: string
        privateKeyWo: string
        privateKeyWoVersion: 0
        projectId: 0
        targetName: string
        username: string
    

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

    ProjectId int
    Project ID to create the Salesforce credential in
    Username string
    The Salesforce username for OAuth JWT bearer flow authentication
    ClientId string
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    ClientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    ClientIdWoVersion int
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    NumThreads int
    The number of threads to use for dbt operations
    PrivateKey string
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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.
    TargetName string
    Target name
    ProjectId int
    Project ID to create the Salesforce credential in
    Username string
    The Salesforce username for OAuth JWT bearer flow authentication
    ClientId string
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    ClientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    ClientIdWoVersion int
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    NumThreads int
    The number of threads to use for dbt operations
    PrivateKey string
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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.
    TargetName string
    Target name
    projectId Integer
    Project ID to create the Salesforce credential in
    username String
    The Salesforce username for OAuth JWT bearer flow authentication
    clientId String
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    clientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    clientIdWoVersion Integer
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    numThreads Integer
    The number of threads to use for dbt operations
    privateKey String
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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.
    targetName String
    Target name
    projectId number
    Project ID to create the Salesforce credential in
    username string
    The Salesforce username for OAuth JWT bearer flow authentication
    clientId string
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    clientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    clientIdWoVersion number
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    numThreads number
    The number of threads to use for dbt operations
    privateKey string
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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.
    targetName string
    Target name
    project_id int
    Project ID to create the Salesforce credential in
    username str
    The Salesforce username for OAuth JWT bearer flow authentication
    client_id str
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    client_id_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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    client_id_wo_version int
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    num_threads int
    The number of threads to use for dbt operations
    private_key str
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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.
    target_name str
    Target name
    projectId Number
    Project ID to create the Salesforce credential in
    username String
    The Salesforce username for OAuth JWT bearer flow authentication
    clientId String
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    clientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    clientIdWoVersion Number
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    numThreads Number
    The number of threads to use for dbt operations
    privateKey String
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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.
    targetName String
    Target name

    Outputs

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

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

    Look up Existing SalesforceCredential Resource

    Get an existing SalesforceCredential 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?: SalesforceCredentialState, opts?: CustomResourceOptions): SalesforceCredential
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_id: Optional[str] = None,
            client_id_wo: Optional[str] = None,
            client_id_wo_version: Optional[int] = None,
            credential_id: Optional[int] = None,
            num_threads: Optional[int] = None,
            private_key: Optional[str] = None,
            private_key_wo: Optional[str] = None,
            private_key_wo_version: Optional[int] = None,
            project_id: Optional[int] = None,
            target_name: Optional[str] = None,
            username: Optional[str] = None) -> SalesforceCredential
    func GetSalesforceCredential(ctx *Context, name string, id IDInput, state *SalesforceCredentialState, opts ...ResourceOption) (*SalesforceCredential, error)
    public static SalesforceCredential Get(string name, Input<string> id, SalesforceCredentialState? state, CustomResourceOptions? opts = null)
    public static SalesforceCredential get(String name, Output<String> id, SalesforceCredentialState state, CustomResourceOptions options)
    resources:  _:    type: dbtcloud:SalesforceCredential    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:
    ClientId string
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    ClientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    ClientIdWoVersion int
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    CredentialId int
    The system Salesforce credential ID
    NumThreads int
    The number of threads to use for dbt operations
    PrivateKey string
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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 Salesforce credential in
    TargetName string
    Target name
    Username string
    The Salesforce username for OAuth JWT bearer flow authentication
    ClientId string
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    ClientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    ClientIdWoVersion int
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    CredentialId int
    The system Salesforce credential ID
    NumThreads int
    The number of threads to use for dbt operations
    PrivateKey string
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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 Salesforce credential in
    TargetName string
    Target name
    Username string
    The Salesforce username for OAuth JWT bearer flow authentication
    clientId String
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    clientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    clientIdWoVersion Integer
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    credentialId Integer
    The system Salesforce credential ID
    numThreads Integer
    The number of threads to use for dbt operations
    privateKey String
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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 Salesforce credential in
    targetName String
    Target name
    username String
    The Salesforce username for OAuth JWT bearer flow authentication
    clientId string
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    clientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    clientIdWoVersion number
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    credentialId number
    The system Salesforce credential ID
    numThreads number
    The number of threads to use for dbt operations
    privateKey string
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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 Salesforce credential in
    targetName string
    Target name
    username string
    The Salesforce username for OAuth JWT bearer flow authentication
    client_id str
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    client_id_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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    client_id_wo_version int
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    credential_id int
    The system Salesforce credential ID
    num_threads int
    The number of threads to use for dbt operations
    private_key str
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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 Salesforce credential in
    target_name str
    Target name
    username str
    The Salesforce username for OAuth JWT bearer flow authentication
    clientId String
    The OAuth connected app client/consumer ID. Consider using clientIdWo instead, which is not stored in state.
    clientIdWo 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 clientId. The value is not stored in state. Requires clientIdWoVersion to trigger updates.
    clientIdWoVersion Number
    Version number for clientIdWo. Increment this value to trigger an update of the client ID when using clientIdWo.
    credentialId Number
    The system Salesforce credential ID
    numThreads Number
    The number of threads to use for dbt operations
    privateKey String
    The private key for JWT bearer flow authentication. Consider using privateKeyWo instead, which is not stored in state.
    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 Salesforce credential in
    targetName String
    Target name
    username String
    The Salesforce username for OAuth JWT bearer flow authentication

    Import

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

    import { to = dbtcloud_salesforce_credential.my_salesforce_credential id = “12345:6789” }

    using the older import command

    $ pulumi import dbtcloud:index/salesforceCredential:SalesforceCredential my_salesforce_credential "project_id:credential_id"
    $ pulumi import dbtcloud:index/salesforceCredential:SalesforceCredential my_salesforce_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.1
    published on Friday, May 8, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.