published on Friday, May 8, 2026 by Pulumi
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:
- Project
Id int - Project ID to create the Salesforce credential in
- Username string
- The Salesforce username for OAuth JWT bearer flow authentication
- Client
Id string - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - Client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - Client
Id intWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - Num
Threads int - The number of threads to use for dbt operations
- Private
Key string - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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. - Target
Name string - Target name
- Project
Id int - Project ID to create the Salesforce credential in
- Username string
- The Salesforce username for OAuth JWT bearer flow authentication
- Client
Id string - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - Client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - Client
Id intWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - Num
Threads int - The number of threads to use for dbt operations
- Private
Key string - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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. - Target
Name string - Target name
- project
Id Integer - Project ID to create the Salesforce credential in
- username String
- The Salesforce username for OAuth JWT bearer flow authentication
- client
Id String - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client
Id IntegerWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - num
Threads Integer - The number of threads to use for dbt operations
- private
Key String - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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. - target
Name String - Target name
- project
Id number - Project ID to create the Salesforce credential in
- username string
- The Salesforce username for OAuth JWT bearer flow authentication
- client
Id string - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client
Id numberWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - num
Threads number - The number of threads to use for dbt operations
- private
Key string - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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. - target
Name 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
clientIdWoinstead, which is not stored in state. - client_
id_ 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client_
id_ intwo_ version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - 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
privateKeyWoinstead, which is not stored in state. - 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. - target_
name str - Target name
- project
Id Number - Project ID to create the Salesforce credential in
- username String
- The Salesforce username for OAuth JWT bearer flow authentication
- client
Id String - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client
Id NumberWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - num
Threads Number - The number of threads to use for dbt operations
- private
Key String - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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. - target
Name String - Target name
Outputs
All input properties are implicitly available as output properties. Additionally, the SalesforceCredential resource produces the following output properties:
- Credential
Id int - 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 string
- The provider-assigned unique ID for this managed resource.
- credential
Id Integer - The system Salesforce credential ID
- id String
- The provider-assigned unique ID for this managed resource.
- credential
Id 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.
- credential
Id 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) -> SalesforceCredentialfunc 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.
- Client
Id string - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - Client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - Client
Id intWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - Credential
Id int - The system Salesforce credential ID
- Num
Threads int - The number of threads to use for dbt operations
- Private
Key string - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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 Salesforce credential in
- Target
Name string - Target name
- Username string
- The Salesforce username for OAuth JWT bearer flow authentication
- Client
Id string - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - Client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - Client
Id intWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - Credential
Id int - The system Salesforce credential ID
- Num
Threads int - The number of threads to use for dbt operations
- Private
Key string - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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 Salesforce credential in
- Target
Name string - Target name
- Username string
- The Salesforce username for OAuth JWT bearer flow authentication
- client
Id String - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client
Id IntegerWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - credential
Id Integer - The system Salesforce credential ID
- num
Threads Integer - The number of threads to use for dbt operations
- private
Key String - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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 Salesforce credential in
- target
Name String - Target name
- username String
- The Salesforce username for OAuth JWT bearer flow authentication
- client
Id string - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client
Id numberWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - credential
Id number - The system Salesforce credential ID
- num
Threads number - The number of threads to use for dbt operations
- private
Key string - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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 Salesforce credential in
- target
Name 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
clientIdWoinstead, which is not stored in state. - client_
id_ 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client_
id_ intwo_ version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - 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
privateKeyWoinstead, which is not stored in state. - 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 Salesforce credential in
- target_
name str - Target name
- username str
- The Salesforce username for OAuth JWT bearer flow authentication
- client
Id String - The OAuth connected app client/consumer ID. Consider using
clientIdWoinstead, which is not stored in state. - client
Id 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
clientId. The value is not stored in state. RequiresclientIdWoVersionto trigger updates. - client
Id NumberWo Version - Version number for
clientIdWo. Increment this value to trigger an update of the client ID when usingclientIdWo. - credential
Id Number - The system Salesforce credential ID
- num
Threads Number - The number of threads to use for dbt operations
- private
Key String - The private key for JWT bearer flow authentication. Consider using
privateKeyWoinstead, which is not stored in state. - 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 Salesforce credential in
- target
Name 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
dbtcloudTerraform Provider.
published on Friday, May 8, 2026 by Pulumi
