akeyless.DynamicSecretRedshift
Explore with Pulumi AI
Redshift dynamic secret resource
Create DynamicSecretRedshift Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DynamicSecretRedshift(name: string, args?: DynamicSecretRedshiftArgs, opts?: CustomResourceOptions);
@overload
def DynamicSecretRedshift(resource_name: str,
args: Optional[DynamicSecretRedshiftArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DynamicSecretRedshift(resource_name: str,
opts: Optional[ResourceOptions] = None,
creation_statements: Optional[str] = None,
dynamic_secret_redshift_id: Optional[str] = None,
encryption_key_name: Optional[str] = None,
name: Optional[str] = None,
password_length: Optional[str] = None,
redshift_db_name: Optional[str] = None,
redshift_host: Optional[str] = None,
redshift_password: Optional[str] = None,
redshift_port: Optional[str] = None,
redshift_username: Optional[str] = None,
secure_access_db_name: Optional[str] = None,
secure_access_enable: Optional[str] = None,
secure_access_hosts: Optional[Sequence[str]] = None,
secure_access_web: Optional[bool] = None,
ssl: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None,
user_ttl: Optional[str] = None)
func NewDynamicSecretRedshift(ctx *Context, name string, args *DynamicSecretRedshiftArgs, opts ...ResourceOption) (*DynamicSecretRedshift, error)
public DynamicSecretRedshift(string name, DynamicSecretRedshiftArgs? args = null, CustomResourceOptions? opts = null)
public DynamicSecretRedshift(String name, DynamicSecretRedshiftArgs args)
public DynamicSecretRedshift(String name, DynamicSecretRedshiftArgs args, CustomResourceOptions options)
type: akeyless:DynamicSecretRedshift
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 DynamicSecretRedshiftArgs
- 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 DynamicSecretRedshiftArgs
- 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 DynamicSecretRedshiftArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DynamicSecretRedshiftArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DynamicSecretRedshiftArgs
- 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 dynamicSecretRedshiftResource = new Akeyless.DynamicSecretRedshift("dynamicSecretRedshiftResource", new()
{
CreationStatements = "string",
DynamicSecretRedshiftId = "string",
EncryptionKeyName = "string",
Name = "string",
PasswordLength = "string",
RedshiftDbName = "string",
RedshiftHost = "string",
RedshiftPassword = "string",
RedshiftPort = "string",
RedshiftUsername = "string",
SecureAccessDbName = "string",
SecureAccessEnable = "string",
SecureAccessHosts = new[]
{
"string",
},
SecureAccessWeb = false,
Ssl = false,
Tags = new[]
{
"string",
},
TargetName = "string",
UserTtl = "string",
});
example, err := akeyless.NewDynamicSecretRedshift(ctx, "dynamicSecretRedshiftResource", &akeyless.DynamicSecretRedshiftArgs{
CreationStatements: pulumi.String("string"),
DynamicSecretRedshiftId: pulumi.String("string"),
EncryptionKeyName: pulumi.String("string"),
Name: pulumi.String("string"),
PasswordLength: pulumi.String("string"),
RedshiftDbName: pulumi.String("string"),
RedshiftHost: pulumi.String("string"),
RedshiftPassword: pulumi.String("string"),
RedshiftPort: pulumi.String("string"),
RedshiftUsername: pulumi.String("string"),
SecureAccessDbName: pulumi.String("string"),
SecureAccessEnable: pulumi.String("string"),
SecureAccessHosts: pulumi.StringArray{
pulumi.String("string"),
},
SecureAccessWeb: pulumi.Bool(false),
Ssl: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TargetName: pulumi.String("string"),
UserTtl: pulumi.String("string"),
})
var dynamicSecretRedshiftResource = new DynamicSecretRedshift("dynamicSecretRedshiftResource", DynamicSecretRedshiftArgs.builder()
.creationStatements("string")
.dynamicSecretRedshiftId("string")
.encryptionKeyName("string")
.name("string")
.passwordLength("string")
.redshiftDbName("string")
.redshiftHost("string")
.redshiftPassword("string")
.redshiftPort("string")
.redshiftUsername("string")
.secureAccessDbName("string")
.secureAccessEnable("string")
.secureAccessHosts("string")
.secureAccessWeb(false)
.ssl(false)
.tags("string")
.targetName("string")
.userTtl("string")
.build());
dynamic_secret_redshift_resource = akeyless.DynamicSecretRedshift("dynamicSecretRedshiftResource",
creation_statements="string",
dynamic_secret_redshift_id="string",
encryption_key_name="string",
name="string",
password_length="string",
redshift_db_name="string",
redshift_host="string",
redshift_password="string",
redshift_port="string",
redshift_username="string",
secure_access_db_name="string",
secure_access_enable="string",
secure_access_hosts=["string"],
secure_access_web=False,
ssl=False,
tags=["string"],
target_name="string",
user_ttl="string")
const dynamicSecretRedshiftResource = new akeyless.DynamicSecretRedshift("dynamicSecretRedshiftResource", {
creationStatements: "string",
dynamicSecretRedshiftId: "string",
encryptionKeyName: "string",
name: "string",
passwordLength: "string",
redshiftDbName: "string",
redshiftHost: "string",
redshiftPassword: "string",
redshiftPort: "string",
redshiftUsername: "string",
secureAccessDbName: "string",
secureAccessEnable: "string",
secureAccessHosts: ["string"],
secureAccessWeb: false,
ssl: false,
tags: ["string"],
targetName: "string",
userTtl: "string",
});
type: akeyless:DynamicSecretRedshift
properties:
creationStatements: string
dynamicSecretRedshiftId: string
encryptionKeyName: string
name: string
passwordLength: string
redshiftDbName: string
redshiftHost: string
redshiftPassword: string
redshiftPort: string
redshiftUsername: string
secureAccessDbName: string
secureAccessEnable: string
secureAccessHosts:
- string
secureAccessWeb: false
ssl: false
tags:
- string
targetName: string
userTtl: string
DynamicSecretRedshift 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 DynamicSecretRedshift resource accepts the following input properties:
- Creation
Statements string - Redshift Creation Statements
- Dynamic
Secret stringRedshift Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- Password
Length string - The length of the password to be generated
- Redshift
Db stringName - Redshift DB name
- Redshift
Host string - Redshift host name
- Redshift
Password string - Redshift password
- Redshift
Port string - Redshift port
- Redshift
Username string - redshiftL user
- Secure
Access stringDb Name - The DB Name
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access List<string>Hosts - Target DB servers for connections., For multiple values repeat this flag.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Ssl bool
- Enable/Disable SSL [true/false]
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- Creation
Statements string - Redshift Creation Statements
- Dynamic
Secret stringRedshift Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- Password
Length string - The length of the password to be generated
- Redshift
Db stringName - Redshift DB name
- Redshift
Host string - Redshift host name
- Redshift
Password string - Redshift password
- Redshift
Port string - Redshift port
- Redshift
Username string - redshiftL user
- Secure
Access stringDb Name - The DB Name
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access []stringHosts - Target DB servers for connections., For multiple values repeat this flag.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Ssl bool
- Enable/Disable SSL [true/false]
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- creation
Statements String - Redshift Creation Statements
- dynamic
Secret StringRedshift Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- password
Length String - The length of the password to be generated
- redshift
Db StringName - Redshift DB name
- redshift
Host String - Redshift host name
- redshift
Password String - Redshift password
- redshift
Port String - Redshift port
- redshift
Username String - redshiftL user
- secure
Access StringDb Name - The DB Name
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access List<String>Hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- ssl Boolean
- Enable/Disable SSL [true/false]
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
- creation
Statements string - Redshift Creation Statements
- dynamic
Secret stringRedshift Id - The ID of this resource.
- encryption
Key stringName - Encrypt dynamic secret details with following key
- name string
- Dynamic Secret name
- password
Length string - The length of the password to be generated
- redshift
Db stringName - Redshift DB name
- redshift
Host string - Redshift host name
- redshift
Password string - Redshift password
- redshift
Port string - Redshift port
- redshift
Username string - redshiftL user
- secure
Access stringDb Name - The DB Name
- secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access string[]Hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure
Access booleanWeb - Enable Web Secure Remote Access
- ssl boolean
- Enable/Disable SSL [true/false]
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Name of existing target to use in dynamic secret creation
- user
Ttl string - User TTL
- creation_
statements str - Redshift Creation Statements
- dynamic_
secret_ strredshift_ id - The ID of this resource.
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- name str
- Dynamic Secret name
- password_
length str - The length of the password to be generated
- redshift_
db_ strname - Redshift DB name
- redshift_
host str - Redshift host name
- redshift_
password str - Redshift password
- redshift_
port str - Redshift port
- redshift_
username str - redshiftL user
- secure_
access_ strdb_ name - The DB Name
- secure_
access_ strenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ Sequence[str]hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure_
access_ boolweb - Enable Web Secure Remote Access
- ssl bool
- Enable/Disable SSL [true/false]
- 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
- creation
Statements String - Redshift Creation Statements
- dynamic
Secret StringRedshift Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- password
Length String - The length of the password to be generated
- redshift
Db StringName - Redshift DB name
- redshift
Host String - Redshift host name
- redshift
Password String - Redshift password
- redshift
Port String - Redshift port
- redshift
Username String - redshiftL user
- secure
Access StringDb Name - The DB Name
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access List<String>Hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- ssl Boolean
- Enable/Disable SSL [true/false]
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
Outputs
All input properties are implicitly available as output properties. Additionally, the DynamicSecretRedshift 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 DynamicSecretRedshift Resource
Get an existing DynamicSecretRedshift 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?: DynamicSecretRedshiftState, opts?: CustomResourceOptions): DynamicSecretRedshift
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_statements: Optional[str] = None,
dynamic_secret_redshift_id: Optional[str] = None,
encryption_key_name: Optional[str] = None,
name: Optional[str] = None,
password_length: Optional[str] = None,
redshift_db_name: Optional[str] = None,
redshift_host: Optional[str] = None,
redshift_password: Optional[str] = None,
redshift_port: Optional[str] = None,
redshift_username: Optional[str] = None,
secure_access_db_name: Optional[str] = None,
secure_access_enable: Optional[str] = None,
secure_access_hosts: Optional[Sequence[str]] = None,
secure_access_web: Optional[bool] = None,
ssl: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None,
user_ttl: Optional[str] = None) -> DynamicSecretRedshift
func GetDynamicSecretRedshift(ctx *Context, name string, id IDInput, state *DynamicSecretRedshiftState, opts ...ResourceOption) (*DynamicSecretRedshift, error)
public static DynamicSecretRedshift Get(string name, Input<string> id, DynamicSecretRedshiftState? state, CustomResourceOptions? opts = null)
public static DynamicSecretRedshift get(String name, Output<String> id, DynamicSecretRedshiftState state, CustomResourceOptions options)
resources: _: type: akeyless:DynamicSecretRedshift 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.
- Creation
Statements string - Redshift Creation Statements
- Dynamic
Secret stringRedshift Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- Password
Length string - The length of the password to be generated
- Redshift
Db stringName - Redshift DB name
- Redshift
Host string - Redshift host name
- Redshift
Password string - Redshift password
- Redshift
Port string - Redshift port
- Redshift
Username string - redshiftL user
- Secure
Access stringDb Name - The DB Name
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access List<string>Hosts - Target DB servers for connections., For multiple values repeat this flag.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Ssl bool
- Enable/Disable SSL [true/false]
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- Creation
Statements string - Redshift Creation Statements
- Dynamic
Secret stringRedshift Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- Password
Length string - The length of the password to be generated
- Redshift
Db stringName - Redshift DB name
- Redshift
Host string - Redshift host name
- Redshift
Password string - Redshift password
- Redshift
Port string - Redshift port
- Redshift
Username string - redshiftL user
- Secure
Access stringDb Name - The DB Name
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access []stringHosts - Target DB servers for connections., For multiple values repeat this flag.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Ssl bool
- Enable/Disable SSL [true/false]
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- creation
Statements String - Redshift Creation Statements
- dynamic
Secret StringRedshift Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- password
Length String - The length of the password to be generated
- redshift
Db StringName - Redshift DB name
- redshift
Host String - Redshift host name
- redshift
Password String - Redshift password
- redshift
Port String - Redshift port
- redshift
Username String - redshiftL user
- secure
Access StringDb Name - The DB Name
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access List<String>Hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- ssl Boolean
- Enable/Disable SSL [true/false]
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
- creation
Statements string - Redshift Creation Statements
- dynamic
Secret stringRedshift Id - The ID of this resource.
- encryption
Key stringName - Encrypt dynamic secret details with following key
- name string
- Dynamic Secret name
- password
Length string - The length of the password to be generated
- redshift
Db stringName - Redshift DB name
- redshift
Host string - Redshift host name
- redshift
Password string - Redshift password
- redshift
Port string - Redshift port
- redshift
Username string - redshiftL user
- secure
Access stringDb Name - The DB Name
- secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access string[]Hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure
Access booleanWeb - Enable Web Secure Remote Access
- ssl boolean
- Enable/Disable SSL [true/false]
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Name of existing target to use in dynamic secret creation
- user
Ttl string - User TTL
- creation_
statements str - Redshift Creation Statements
- dynamic_
secret_ strredshift_ id - The ID of this resource.
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- name str
- Dynamic Secret name
- password_
length str - The length of the password to be generated
- redshift_
db_ strname - Redshift DB name
- redshift_
host str - Redshift host name
- redshift_
password str - Redshift password
- redshift_
port str - Redshift port
- redshift_
username str - redshiftL user
- secure_
access_ strdb_ name - The DB Name
- secure_
access_ strenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ Sequence[str]hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure_
access_ boolweb - Enable Web Secure Remote Access
- ssl bool
- Enable/Disable SSL [true/false]
- 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
- creation
Statements String - Redshift Creation Statements
- dynamic
Secret StringRedshift Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- password
Length String - The length of the password to be generated
- redshift
Db StringName - Redshift DB name
- redshift
Host String - Redshift host name
- redshift
Password String - Redshift password
- redshift
Port String - Redshift port
- redshift
Username String - redshiftL user
- secure
Access StringDb Name - The DB Name
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access List<String>Hosts - Target DB servers for connections., For multiple values repeat this flag.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- ssl Boolean
- Enable/Disable SSL [true/false]
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.