1. Packages
  2. Akeyless Provider
  3. API Docs
  4. DynamicSecretCassandra
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.DynamicSecretCassandra

Explore with Pulumi AI

Cassandra dynamic secret resource

Create DynamicSecretCassandra Resource

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

Constructor syntax

new DynamicSecretCassandra(name: string, args?: DynamicSecretCassandraArgs, opts?: CustomResourceOptions);
@overload
def DynamicSecretCassandra(resource_name: str,
                           args: Optional[DynamicSecretCassandraArgs] = None,
                           opts: Optional[ResourceOptions] = None)

@overload
def DynamicSecretCassandra(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cassandra_creation_statements: Optional[str] = None,
                           cassandra_hosts: Optional[str] = None,
                           cassandra_password: Optional[str] = None,
                           cassandra_port: Optional[str] = None,
                           cassandra_username: Optional[str] = None,
                           dynamic_secret_cassandra_id: Optional[str] = None,
                           encryption_key_name: Optional[str] = None,
                           name: Optional[str] = None,
                           password_length: Optional[str] = None,
                           ssl: Optional[bool] = None,
                           ssl_certificate: Optional[str] = None,
                           tags: Optional[Sequence[str]] = None,
                           target_name: Optional[str] = None,
                           user_ttl: Optional[str] = None)
func NewDynamicSecretCassandra(ctx *Context, name string, args *DynamicSecretCassandraArgs, opts ...ResourceOption) (*DynamicSecretCassandra, error)
public DynamicSecretCassandra(string name, DynamicSecretCassandraArgs? args = null, CustomResourceOptions? opts = null)
public DynamicSecretCassandra(String name, DynamicSecretCassandraArgs args)
public DynamicSecretCassandra(String name, DynamicSecretCassandraArgs args, CustomResourceOptions options)
type: akeyless:DynamicSecretCassandra
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args DynamicSecretCassandraArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args DynamicSecretCassandraArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args DynamicSecretCassandraArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args DynamicSecretCassandraArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DynamicSecretCassandraArgs
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 dynamicSecretCassandraResource = new Akeyless.DynamicSecretCassandra("dynamicSecretCassandraResource", new()
{
    CassandraCreationStatements = "string",
    CassandraHosts = "string",
    CassandraPassword = "string",
    CassandraPort = "string",
    CassandraUsername = "string",
    DynamicSecretCassandraId = "string",
    EncryptionKeyName = "string",
    Name = "string",
    PasswordLength = "string",
    Ssl = false,
    SslCertificate = "string",
    Tags = new[]
    {
        "string",
    },
    TargetName = "string",
    UserTtl = "string",
});
Copy
example, err := akeyless.NewDynamicSecretCassandra(ctx, "dynamicSecretCassandraResource", &akeyless.DynamicSecretCassandraArgs{
	CassandraCreationStatements: pulumi.String("string"),
	CassandraHosts:              pulumi.String("string"),
	CassandraPassword:           pulumi.String("string"),
	CassandraPort:               pulumi.String("string"),
	CassandraUsername:           pulumi.String("string"),
	DynamicSecretCassandraId:    pulumi.String("string"),
	EncryptionKeyName:           pulumi.String("string"),
	Name:                        pulumi.String("string"),
	PasswordLength:              pulumi.String("string"),
	Ssl:                         pulumi.Bool(false),
	SslCertificate:              pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	TargetName: pulumi.String("string"),
	UserTtl:    pulumi.String("string"),
})
Copy
var dynamicSecretCassandraResource = new DynamicSecretCassandra("dynamicSecretCassandraResource", DynamicSecretCassandraArgs.builder()
    .cassandraCreationStatements("string")
    .cassandraHosts("string")
    .cassandraPassword("string")
    .cassandraPort("string")
    .cassandraUsername("string")
    .dynamicSecretCassandraId("string")
    .encryptionKeyName("string")
    .name("string")
    .passwordLength("string")
    .ssl(false)
    .sslCertificate("string")
    .tags("string")
    .targetName("string")
    .userTtl("string")
    .build());
Copy
dynamic_secret_cassandra_resource = akeyless.DynamicSecretCassandra("dynamicSecretCassandraResource",
    cassandra_creation_statements="string",
    cassandra_hosts="string",
    cassandra_password="string",
    cassandra_port="string",
    cassandra_username="string",
    dynamic_secret_cassandra_id="string",
    encryption_key_name="string",
    name="string",
    password_length="string",
    ssl=False,
    ssl_certificate="string",
    tags=["string"],
    target_name="string",
    user_ttl="string")
Copy
const dynamicSecretCassandraResource = new akeyless.DynamicSecretCassandra("dynamicSecretCassandraResource", {
    cassandraCreationStatements: "string",
    cassandraHosts: "string",
    cassandraPassword: "string",
    cassandraPort: "string",
    cassandraUsername: "string",
    dynamicSecretCassandraId: "string",
    encryptionKeyName: "string",
    name: "string",
    passwordLength: "string",
    ssl: false,
    sslCertificate: "string",
    tags: ["string"],
    targetName: "string",
    userTtl: "string",
});
Copy
type: akeyless:DynamicSecretCassandra
properties:
    cassandraCreationStatements: string
    cassandraHosts: string
    cassandraPassword: string
    cassandraPort: string
    cassandraUsername: string
    dynamicSecretCassandraId: string
    encryptionKeyName: string
    name: string
    passwordLength: string
    ssl: false
    sslCertificate: string
    tags:
        - string
    targetName: string
    userTtl: string
Copy

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

CassandraCreationStatements string
Cassandra Creation Statements
CassandraHosts string
Cassandra hosts names or IP addresses, comma separated
CassandraPassword string
Cassandra superuser password
CassandraPort string
Cassandra port
CassandraUsername string
Cassandra superuser user name
DynamicSecretCassandraId string
The ID of this resource.
EncryptionKeyName string
Encrypt dynamic secret details with following key
Name string
Dynamic secret name
PasswordLength string
The length of the password to be generated
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
Tags List<string>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in dynamic secret creation
UserTtl string
User TTL (<=60m for access token)
CassandraCreationStatements string
Cassandra Creation Statements
CassandraHosts string
Cassandra hosts names or IP addresses, comma separated
CassandraPassword string
Cassandra superuser password
CassandraPort string
Cassandra port
CassandraUsername string
Cassandra superuser user name
DynamicSecretCassandraId string
The ID of this resource.
EncryptionKeyName string
Encrypt dynamic secret details with following key
Name string
Dynamic secret name
PasswordLength string
The length of the password to be generated
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in dynamic secret creation
UserTtl string
User TTL (<=60m for access token)
cassandraCreationStatements String
Cassandra Creation Statements
cassandraHosts String
Cassandra hosts names or IP addresses, comma separated
cassandraPassword String
Cassandra superuser password
cassandraPort String
Cassandra port
cassandraUsername String
Cassandra superuser user name
dynamicSecretCassandraId String
The ID of this resource.
encryptionKeyName String
Encrypt dynamic secret details with following key
name String
Dynamic secret name
passwordLength String
The length of the password to be generated
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in dynamic secret creation
userTtl String
User TTL (<=60m for access token)
cassandraCreationStatements string
Cassandra Creation Statements
cassandraHosts string
Cassandra hosts names or IP addresses, comma separated
cassandraPassword string
Cassandra superuser password
cassandraPort string
Cassandra port
cassandraUsername string
Cassandra superuser user name
dynamicSecretCassandraId string
The ID of this resource.
encryptionKeyName string
Encrypt dynamic secret details with following key
name string
Dynamic secret name
passwordLength string
The length of the password to be generated
ssl boolean
Enable/Disable SSL [true/false]
sslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName string
Name of existing target to use in dynamic secret creation
userTtl string
User TTL (<=60m for access token)
cassandra_creation_statements str
Cassandra Creation Statements
cassandra_hosts str
Cassandra hosts names or IP addresses, comma separated
cassandra_password str
Cassandra superuser password
cassandra_port str
Cassandra port
cassandra_username str
Cassandra superuser user name
dynamic_secret_cassandra_id str
The ID of this resource.
encryption_key_name str
Encrypt dynamic secret details with following key
name str
Dynamic secret name
password_length str
The length of the password to be generated
ssl bool
Enable/Disable SSL [true/false]
ssl_certificate str
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags Sequence[str]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
target_name str
Name of existing target to use in dynamic secret creation
user_ttl str
User TTL (<=60m for access token)
cassandraCreationStatements String
Cassandra Creation Statements
cassandraHosts String
Cassandra hosts names or IP addresses, comma separated
cassandraPassword String
Cassandra superuser password
cassandraPort String
Cassandra port
cassandraUsername String
Cassandra superuser user name
dynamicSecretCassandraId String
The ID of this resource.
encryptionKeyName String
Encrypt dynamic secret details with following key
name String
Dynamic secret name
passwordLength String
The length of the password to be generated
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in dynamic secret creation
userTtl String
User TTL (<=60m for access token)

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing DynamicSecretCassandra Resource

Get an existing DynamicSecretCassandra 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?: DynamicSecretCassandraState, opts?: CustomResourceOptions): DynamicSecretCassandra
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cassandra_creation_statements: Optional[str] = None,
        cassandra_hosts: Optional[str] = None,
        cassandra_password: Optional[str] = None,
        cassandra_port: Optional[str] = None,
        cassandra_username: Optional[str] = None,
        dynamic_secret_cassandra_id: Optional[str] = None,
        encryption_key_name: Optional[str] = None,
        name: Optional[str] = None,
        password_length: Optional[str] = None,
        ssl: Optional[bool] = None,
        ssl_certificate: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        target_name: Optional[str] = None,
        user_ttl: Optional[str] = None) -> DynamicSecretCassandra
func GetDynamicSecretCassandra(ctx *Context, name string, id IDInput, state *DynamicSecretCassandraState, opts ...ResourceOption) (*DynamicSecretCassandra, error)
public static DynamicSecretCassandra Get(string name, Input<string> id, DynamicSecretCassandraState? state, CustomResourceOptions? opts = null)
public static DynamicSecretCassandra get(String name, Output<String> id, DynamicSecretCassandraState state, CustomResourceOptions options)
resources:  _:    type: akeyless:DynamicSecretCassandra    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CassandraCreationStatements string
Cassandra Creation Statements
CassandraHosts string
Cassandra hosts names or IP addresses, comma separated
CassandraPassword string
Cassandra superuser password
CassandraPort string
Cassandra port
CassandraUsername string
Cassandra superuser user name
DynamicSecretCassandraId string
The ID of this resource.
EncryptionKeyName string
Encrypt dynamic secret details with following key
Name string
Dynamic secret name
PasswordLength string
The length of the password to be generated
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
Tags List<string>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in dynamic secret creation
UserTtl string
User TTL (<=60m for access token)
CassandraCreationStatements string
Cassandra Creation Statements
CassandraHosts string
Cassandra hosts names or IP addresses, comma separated
CassandraPassword string
Cassandra superuser password
CassandraPort string
Cassandra port
CassandraUsername string
Cassandra superuser user name
DynamicSecretCassandraId string
The ID of this resource.
EncryptionKeyName string
Encrypt dynamic secret details with following key
Name string
Dynamic secret name
PasswordLength string
The length of the password to be generated
Ssl bool
Enable/Disable SSL [true/false]
SslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in dynamic secret creation
UserTtl string
User TTL (<=60m for access token)
cassandraCreationStatements String
Cassandra Creation Statements
cassandraHosts String
Cassandra hosts names or IP addresses, comma separated
cassandraPassword String
Cassandra superuser password
cassandraPort String
Cassandra port
cassandraUsername String
Cassandra superuser user name
dynamicSecretCassandraId String
The ID of this resource.
encryptionKeyName String
Encrypt dynamic secret details with following key
name String
Dynamic secret name
passwordLength String
The length of the password to be generated
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in dynamic secret creation
userTtl String
User TTL (<=60m for access token)
cassandraCreationStatements string
Cassandra Creation Statements
cassandraHosts string
Cassandra hosts names or IP addresses, comma separated
cassandraPassword string
Cassandra superuser password
cassandraPort string
Cassandra port
cassandraUsername string
Cassandra superuser user name
dynamicSecretCassandraId string
The ID of this resource.
encryptionKeyName string
Encrypt dynamic secret details with following key
name string
Dynamic secret name
passwordLength string
The length of the password to be generated
ssl boolean
Enable/Disable SSL [true/false]
sslCertificate string
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName string
Name of existing target to use in dynamic secret creation
userTtl string
User TTL (<=60m for access token)
cassandra_creation_statements str
Cassandra Creation Statements
cassandra_hosts str
Cassandra hosts names or IP addresses, comma separated
cassandra_password str
Cassandra superuser password
cassandra_port str
Cassandra port
cassandra_username str
Cassandra superuser user name
dynamic_secret_cassandra_id str
The ID of this resource.
encryption_key_name str
Encrypt dynamic secret details with following key
name str
Dynamic secret name
password_length str
The length of the password to be generated
ssl bool
Enable/Disable SSL [true/false]
ssl_certificate str
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags Sequence[str]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
target_name str
Name of existing target to use in dynamic secret creation
user_ttl str
User TTL (<=60m for access token)
cassandraCreationStatements String
Cassandra Creation Statements
cassandraHosts String
Cassandra hosts names or IP addresses, comma separated
cassandraPassword String
Cassandra superuser password
cassandraPort String
Cassandra port
cassandraUsername String
Cassandra superuser user name
dynamicSecretCassandraId String
The ID of this resource.
encryptionKeyName String
Encrypt dynamic secret details with following key
name String
Dynamic secret name
passwordLength String
The length of the password to be generated
ssl Boolean
Enable/Disable SSL [true/false]
sslCertificate String
SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in dynamic secret creation
userTtl String
User TTL (<=60m for access token)

Package Details

Repository
akeyless akeyless-community/terraform-provider-akeyless
License
Notes
This Pulumi package is based on the akeyless Terraform Provider.