published on Friday, May 8, 2026 by Pulumi
published on Friday, May 8, 2026 by Pulumi
Athena 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 example = new dbtcloud.AthenaCredential("example", {
projectId: exampleDbtcloudProject.id,
awsAccessKeyId: "your-access-key-id",
awsSecretAccessKey: "your-secret-access-key",
schema: "your_schema",
});
const config = new pulumi.Config();
const athenaAwsAccessKeyId = config.require("athenaAwsAccessKeyId");
const athenaAwsSecretAccessKey = config.require("athenaAwsSecretAccessKey");
const exampleWo = new dbtcloud.AthenaCredential("example_wo", {
projectId: exampleDbtcloudProject.id,
awsAccessKeyIdWo: athenaAwsAccessKeyId,
awsAccessKeyIdWoVersion: 1,
awsSecretAccessKeyWo: athenaAwsSecretAccessKey,
awsSecretAccessKeyWoVersion: 1,
schema: "your_schema",
});
import pulumi
import pulumi_dbtcloud as dbtcloud
# Using the classic sensitive attributes (stored in state)
example = dbtcloud.AthenaCredential("example",
project_id=example_dbtcloud_project["id"],
aws_access_key_id="your-access-key-id",
aws_secret_access_key="your-secret-access-key",
schema="your_schema")
config = pulumi.Config()
athena_aws_access_key_id = config.require("athenaAwsAccessKeyId")
athena_aws_secret_access_key = config.require("athenaAwsSecretAccessKey")
example_wo = dbtcloud.AthenaCredential("example_wo",
project_id=example_dbtcloud_project["id"],
aws_access_key_id_wo=athena_aws_access_key_id,
aws_access_key_id_wo_version=1,
aws_secret_access_key_wo=athena_aws_secret_access_key,
aws_secret_access_key_wo_version=1,
schema="your_schema")
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.NewAthenaCredential(ctx, "example", &dbtcloud.AthenaCredentialArgs{
ProjectId: pulumi.Any(exampleDbtcloudProject.Id),
AwsAccessKeyId: pulumi.String("your-access-key-id"),
AwsSecretAccessKey: pulumi.String("your-secret-access-key"),
Schema: pulumi.String("your_schema"),
})
if err != nil {
return err
}
cfg := config.New(ctx, "")
athenaAwsAccessKeyId := cfg.Require("athenaAwsAccessKeyId")
athenaAwsSecretAccessKey := cfg.Require("athenaAwsSecretAccessKey")
_, err = dbtcloud.NewAthenaCredential(ctx, "example_wo", &dbtcloud.AthenaCredentialArgs{
ProjectId: pulumi.Any(exampleDbtcloudProject.Id),
AwsAccessKeyIdWo: pulumi.String(pulumi.String(athenaAwsAccessKeyId)),
AwsAccessKeyIdWoVersion: pulumi.Int(1),
AwsSecretAccessKeyWo: pulumi.String(pulumi.String(athenaAwsSecretAccessKey)),
AwsSecretAccessKeyWoVersion: pulumi.Int(1),
Schema: pulumi.String("your_schema"),
})
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 example = new DbtCloud.Index.AthenaCredential("example", new()
{
ProjectId = exampleDbtcloudProject.Id,
AwsAccessKeyId = "your-access-key-id",
AwsSecretAccessKey = "your-secret-access-key",
Schema = "your_schema",
});
var config = new Config();
var athenaAwsAccessKeyId = config.Require("athenaAwsAccessKeyId");
var athenaAwsSecretAccessKey = config.Require("athenaAwsSecretAccessKey");
var exampleWo = new DbtCloud.Index.AthenaCredential("example_wo", new()
{
ProjectId = exampleDbtcloudProject.Id,
AwsAccessKeyIdWo = athenaAwsAccessKeyId,
AwsAccessKeyIdWoVersion = 1,
AwsSecretAccessKeyWo = athenaAwsSecretAccessKey,
AwsSecretAccessKeyWoVersion = 1,
Schema = "your_schema",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dbtcloud.AthenaCredential;
import com.pulumi.dbtcloud.AthenaCredentialArgs;
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 example = new AthenaCredential("example", AthenaCredentialArgs.builder()
.projectId(exampleDbtcloudProject.id())
.awsAccessKeyId("your-access-key-id")
.awsSecretAccessKey("your-secret-access-key")
.schema("your_schema")
.build());
final var athenaAwsAccessKeyId = config.require("athenaAwsAccessKeyId");
final var athenaAwsSecretAccessKey = config.require("athenaAwsSecretAccessKey");
var exampleWo = new AthenaCredential("exampleWo", AthenaCredentialArgs.builder()
.projectId(exampleDbtcloudProject.id())
.awsAccessKeyIdWo(athenaAwsAccessKeyId)
.awsAccessKeyIdWoVersion(1)
.awsSecretAccessKeyWo(athenaAwsSecretAccessKey)
.awsSecretAccessKeyWoVersion(1)
.schema("your_schema")
.build());
}
}
configuration:
# Using write-only attributes (not stored in state, requires Terraform >= 1.11)
# //
# // The aws_access_key_id_wo and aws_secret_access_key_wo values are never persisted in the Terraform state file.
# // Use aws_access_key_id_wo_version / aws_secret_access_key_wo_version to trigger an update when the secret changes.
athenaAwsAccessKeyId:
type: string
athenaAwsSecretAccessKey:
type: string
resources:
# Using the classic sensitive attributes (stored in state)
example:
type: dbtcloud:AthenaCredential
properties:
projectId: ${exampleDbtcloudProject.id}
awsAccessKeyId: your-access-key-id
awsSecretAccessKey: your-secret-access-key
schema: your_schema
exampleWo:
type: dbtcloud:AthenaCredential
name: example_wo
properties:
projectId: ${exampleDbtcloudProject.id}
awsAccessKeyIdWo: ${athenaAwsAccessKeyId}
awsAccessKeyIdWoVersion: 1
awsSecretAccessKeyWo: ${athenaAwsSecretAccessKey}
awsSecretAccessKeyWoVersion: 1
schema: your_schema
Create AthenaCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AthenaCredential(name: string, args: AthenaCredentialArgs, opts?: CustomResourceOptions);@overload
def AthenaCredential(resource_name: str,
args: AthenaCredentialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AthenaCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[int] = None,
schema: Optional[str] = None,
aws_access_key_id: Optional[str] = None,
aws_access_key_id_wo: Optional[str] = None,
aws_access_key_id_wo_version: Optional[int] = None,
aws_secret_access_key: Optional[str] = None,
aws_secret_access_key_wo: Optional[str] = None,
aws_secret_access_key_wo_version: Optional[int] = None)func NewAthenaCredential(ctx *Context, name string, args AthenaCredentialArgs, opts ...ResourceOption) (*AthenaCredential, error)public AthenaCredential(string name, AthenaCredentialArgs args, CustomResourceOptions? opts = null)
public AthenaCredential(String name, AthenaCredentialArgs args)
public AthenaCredential(String name, AthenaCredentialArgs args, CustomResourceOptions options)
type: dbtcloud:AthenaCredential
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 AthenaCredentialArgs
- 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 AthenaCredentialArgs
- 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 AthenaCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AthenaCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AthenaCredentialArgs
- 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 athenaCredentialResource = new DbtCloud.AthenaCredential("athenaCredentialResource", new()
{
ProjectId = 0,
Schema = "string",
AwsAccessKeyId = "string",
AwsAccessKeyIdWo = "string",
AwsAccessKeyIdWoVersion = 0,
AwsSecretAccessKey = "string",
AwsSecretAccessKeyWo = "string",
AwsSecretAccessKeyWoVersion = 0,
});
example, err := dbtcloud.NewAthenaCredential(ctx, "athenaCredentialResource", &dbtcloud.AthenaCredentialArgs{
ProjectId: pulumi.Int(0),
Schema: pulumi.String("string"),
AwsAccessKeyId: pulumi.String("string"),
AwsAccessKeyIdWo: pulumi.String("string"),
AwsAccessKeyIdWoVersion: pulumi.Int(0),
AwsSecretAccessKey: pulumi.String("string"),
AwsSecretAccessKeyWo: pulumi.String("string"),
AwsSecretAccessKeyWoVersion: pulumi.Int(0),
})
var athenaCredentialResource = new AthenaCredential("athenaCredentialResource", AthenaCredentialArgs.builder()
.projectId(0)
.schema("string")
.awsAccessKeyId("string")
.awsAccessKeyIdWo("string")
.awsAccessKeyIdWoVersion(0)
.awsSecretAccessKey("string")
.awsSecretAccessKeyWo("string")
.awsSecretAccessKeyWoVersion(0)
.build());
athena_credential_resource = dbtcloud.AthenaCredential("athenaCredentialResource",
project_id=0,
schema="string",
aws_access_key_id="string",
aws_access_key_id_wo="string",
aws_access_key_id_wo_version=0,
aws_secret_access_key="string",
aws_secret_access_key_wo="string",
aws_secret_access_key_wo_version=0)
const athenaCredentialResource = new dbtcloud.AthenaCredential("athenaCredentialResource", {
projectId: 0,
schema: "string",
awsAccessKeyId: "string",
awsAccessKeyIdWo: "string",
awsAccessKeyIdWoVersion: 0,
awsSecretAccessKey: "string",
awsSecretAccessKeyWo: "string",
awsSecretAccessKeyWoVersion: 0,
});
type: dbtcloud:AthenaCredential
properties:
awsAccessKeyId: string
awsAccessKeyIdWo: string
awsAccessKeyIdWoVersion: 0
awsSecretAccessKey: string
awsSecretAccessKeyWo: string
awsSecretAccessKeyWoVersion: 0
projectId: 0
schema: string
AthenaCredential 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 AthenaCredential resource accepts the following input properties:
- Project
Id int - Project ID to create the Athena credential in
- Schema string
- The schema where to create models
- Aws
Access stringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - Aws
Access stringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - Aws
Access intKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - Aws
Secret stringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - Aws
Secret stringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - Aws
Secret intAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo.
- Project
Id int - Project ID to create the Athena credential in
- Schema string
- The schema where to create models
- Aws
Access stringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - Aws
Access stringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - Aws
Access intKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - Aws
Secret stringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - Aws
Secret stringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - Aws
Secret intAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo.
- project
Id Integer - Project ID to create the Athena credential in
- schema String
- The schema where to create models
- aws
Access StringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws
Access StringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws
Access IntegerKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws
Secret StringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws
Secret StringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws
Secret IntegerAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo.
- project
Id number - Project ID to create the Athena credential in
- schema string
- The schema where to create models
- aws
Access stringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws
Access stringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws
Access numberKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws
Secret stringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws
Secret stringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws
Secret numberAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo.
- project_
id int - Project ID to create the Athena credential in
- schema str
- The schema where to create models
- aws_
access_ strkey_ id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws_
access_ strkey_ id_ wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws_
access_ intkey_ id_ wo_ version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws_
secret_ straccess_ key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws_
secret_ straccess_ key_ wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws_
secret_ intaccess_ key_ wo_ version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo.
- project
Id Number - Project ID to create the Athena credential in
- schema String
- The schema where to create models
- aws
Access StringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws
Access StringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws
Access NumberKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws
Secret StringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws
Secret StringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws
Secret NumberAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo.
Outputs
All input properties are implicitly available as output properties. Additionally, the AthenaCredential resource produces the following output properties:
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- credential
Id Integer - The internal credential ID
- id String
- The provider-assigned unique ID for this managed resource.
- credential
Id number - The internal credential ID
- id string
- The provider-assigned unique ID for this managed resource.
- credential_
id int - The internal credential ID
- id str
- The provider-assigned unique ID for this managed resource.
- credential
Id Number - The internal credential ID
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AthenaCredential Resource
Get an existing AthenaCredential 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?: AthenaCredentialState, opts?: CustomResourceOptions): AthenaCredential@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws_access_key_id: Optional[str] = None,
aws_access_key_id_wo: Optional[str] = None,
aws_access_key_id_wo_version: Optional[int] = None,
aws_secret_access_key: Optional[str] = None,
aws_secret_access_key_wo: Optional[str] = None,
aws_secret_access_key_wo_version: Optional[int] = None,
credential_id: Optional[int] = None,
project_id: Optional[int] = None,
schema: Optional[str] = None) -> AthenaCredentialfunc GetAthenaCredential(ctx *Context, name string, id IDInput, state *AthenaCredentialState, opts ...ResourceOption) (*AthenaCredential, error)public static AthenaCredential Get(string name, Input<string> id, AthenaCredentialState? state, CustomResourceOptions? opts = null)public static AthenaCredential get(String name, Output<String> id, AthenaCredentialState state, CustomResourceOptions options)resources: _: type: dbtcloud:AthenaCredential 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.
- Aws
Access stringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - Aws
Access stringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - Aws
Access intKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - Aws
Secret stringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - Aws
Secret stringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - Aws
Secret intAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo. - Credential
Id int - The internal credential ID
- Project
Id int - Project ID to create the Athena credential in
- Schema string
- The schema where to create models
- Aws
Access stringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - Aws
Access stringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - Aws
Access intKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - Aws
Secret stringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - Aws
Secret stringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - Aws
Secret intAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo. - Credential
Id int - The internal credential ID
- Project
Id int - Project ID to create the Athena credential in
- Schema string
- The schema where to create models
- aws
Access StringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws
Access StringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws
Access IntegerKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws
Secret StringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws
Secret StringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws
Secret IntegerAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo. - credential
Id Integer - The internal credential ID
- project
Id Integer - Project ID to create the Athena credential in
- schema String
- The schema where to create models
- aws
Access stringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws
Access stringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws
Access numberKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws
Secret stringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws
Secret stringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws
Secret numberAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo. - credential
Id number - The internal credential ID
- project
Id number - Project ID to create the Athena credential in
- schema string
- The schema where to create models
- aws_
access_ strkey_ id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws_
access_ strkey_ id_ wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws_
access_ intkey_ id_ wo_ version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws_
secret_ straccess_ key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws_
secret_ straccess_ key_ wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws_
secret_ intaccess_ key_ wo_ version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo. - credential_
id int - The internal credential ID
- project_
id int - Project ID to create the Athena credential in
- schema str
- The schema where to create models
- aws
Access StringKey Id - AWS access key ID for Athena user. Consider using
awsAccessKeyIdWoinstead, which is not stored in state. - aws
Access StringKey Id Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsAccessKeyId. The value is not stored in state. RequiresawsAccessKeyIdWoVersionto trigger updates. - aws
Access NumberKey Id Wo Version - Version number for
awsAccessKeyIdWo. Increment this value to trigger an update of the AWS access key ID when usingawsAccessKeyIdWo. - aws
Secret StringAccess Key - AWS secret access key for Athena user. Consider using
awsSecretAccessKeyWoinstead, which is not stored in state. - aws
Secret StringAccess Key Wo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
awsSecretAccessKey. The value is not stored in state. RequiresawsSecretAccessKeyWoVersionto trigger updates. - aws
Secret NumberAccess Key Wo Version - Version number for
awsSecretAccessKeyWo. Increment this value to trigger an update of the AWS secret access key when usingawsSecretAccessKeyWo. - credential
Id Number - The internal credential ID
- project
Id Number - Project ID to create the Athena credential in
- schema String
- The schema where to create models
Import
using import blocks (requires Terraform >= 1.5) import { to = dbtcloud_athena_credential.my_athena_credential id = “project_id:credential_id” }
import { to = dbtcloud_athena_credential.my_athena_credential id = “12345:6789” }
using the older import command
$ pulumi import dbtcloud:index/athenaCredential:AthenaCredential my_athena_credential "project_id:credential_id"
$ pulumi import dbtcloud:index/athenaCredential:AthenaCredential my_athena_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
