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

akeyless.RotatedSecretRedshift

Explore with Pulumi AI

Redshift rotated secret resource

Create RotatedSecretRedshift Resource

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

Constructor syntax

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

@overload
def RotatedSecretRedshift(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          rotator_type: Optional[str] = None,
                          target_name: Optional[str] = None,
                          rotated_password: Optional[str] = None,
                          key: Optional[str] = None,
                          name: Optional[str] = None,
                          password_length: Optional[str] = None,
                          authentication_credentials: Optional[str] = None,
                          rotated_secret_redshift_id: Optional[str] = None,
                          rotated_username: Optional[str] = None,
                          rotation_hour: Optional[float] = None,
                          rotation_interval: Optional[str] = None,
                          description: Optional[str] = None,
                          tags: Optional[Sequence[str]] = None,
                          auto_rotate: Optional[str] = None)
func NewRotatedSecretRedshift(ctx *Context, name string, args RotatedSecretRedshiftArgs, opts ...ResourceOption) (*RotatedSecretRedshift, error)
public RotatedSecretRedshift(string name, RotatedSecretRedshiftArgs args, CustomResourceOptions? opts = null)
public RotatedSecretRedshift(String name, RotatedSecretRedshiftArgs args)
public RotatedSecretRedshift(String name, RotatedSecretRedshiftArgs args, CustomResourceOptions options)
type: akeyless:RotatedSecretRedshift
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 This property is required. RotatedSecretRedshiftArgs
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 This property is required. RotatedSecretRedshiftArgs
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 This property is required. RotatedSecretRedshiftArgs
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 This property is required. RotatedSecretRedshiftArgs
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. RotatedSecretRedshiftArgs
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 rotatedSecretRedshiftResource = new Akeyless.RotatedSecretRedshift("rotatedSecretRedshiftResource", new()
{
    RotatorType = "string",
    TargetName = "string",
    RotatedPassword = "string",
    Key = "string",
    Name = "string",
    PasswordLength = "string",
    AuthenticationCredentials = "string",
    RotatedSecretRedshiftId = "string",
    RotatedUsername = "string",
    RotationHour = 0,
    RotationInterval = "string",
    Description = "string",
    Tags = new[]
    {
        "string",
    },
    AutoRotate = "string",
});
Copy
example, err := akeyless.NewRotatedSecretRedshift(ctx, "rotatedSecretRedshiftResource", &akeyless.RotatedSecretRedshiftArgs{
	RotatorType:               pulumi.String("string"),
	TargetName:                pulumi.String("string"),
	RotatedPassword:           pulumi.String("string"),
	Key:                       pulumi.String("string"),
	Name:                      pulumi.String("string"),
	PasswordLength:            pulumi.String("string"),
	AuthenticationCredentials: pulumi.String("string"),
	RotatedSecretRedshiftId:   pulumi.String("string"),
	RotatedUsername:           pulumi.String("string"),
	RotationHour:              pulumi.Float64(0),
	RotationInterval:          pulumi.String("string"),
	Description:               pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	AutoRotate: pulumi.String("string"),
})
Copy
var rotatedSecretRedshiftResource = new RotatedSecretRedshift("rotatedSecretRedshiftResource", RotatedSecretRedshiftArgs.builder()
    .rotatorType("string")
    .targetName("string")
    .rotatedPassword("string")
    .key("string")
    .name("string")
    .passwordLength("string")
    .authenticationCredentials("string")
    .rotatedSecretRedshiftId("string")
    .rotatedUsername("string")
    .rotationHour(0)
    .rotationInterval("string")
    .description("string")
    .tags("string")
    .autoRotate("string")
    .build());
Copy
rotated_secret_redshift_resource = akeyless.RotatedSecretRedshift("rotatedSecretRedshiftResource",
    rotator_type="string",
    target_name="string",
    rotated_password="string",
    key="string",
    name="string",
    password_length="string",
    authentication_credentials="string",
    rotated_secret_redshift_id="string",
    rotated_username="string",
    rotation_hour=0,
    rotation_interval="string",
    description="string",
    tags=["string"],
    auto_rotate="string")
Copy
const rotatedSecretRedshiftResource = new akeyless.RotatedSecretRedshift("rotatedSecretRedshiftResource", {
    rotatorType: "string",
    targetName: "string",
    rotatedPassword: "string",
    key: "string",
    name: "string",
    passwordLength: "string",
    authenticationCredentials: "string",
    rotatedSecretRedshiftId: "string",
    rotatedUsername: "string",
    rotationHour: 0,
    rotationInterval: "string",
    description: "string",
    tags: ["string"],
    autoRotate: "string",
});
Copy
type: akeyless:RotatedSecretRedshift
properties:
    authenticationCredentials: string
    autoRotate: string
    description: string
    key: string
    name: string
    passwordLength: string
    rotatedPassword: string
    rotatedSecretRedshiftId: string
    rotatedUsername: string
    rotationHour: 0
    rotationInterval: string
    rotatorType: string
    tags:
        - string
    targetName: string
Copy

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

RotatorType This property is required. string
The rotator type [target/password]
TargetName This property is required. string
The target name to associate
AuthenticationCredentials string
The credentials to connect with [use-self-creds/use-target-creds]
AutoRotate string
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
Description string
Description of the object
Key string
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
Name string
Secret name
PasswordLength string
The length of the password to be generated
RotatedPassword string
rotated-username password (relevant only for rotator-type=password)
RotatedSecretRedshiftId string
The ID of this resource.
RotatedUsername string
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
RotationHour double
The Hour of the rotation in UTC
RotationInterval string
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
Tags List<string>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
RotatorType This property is required. string
The rotator type [target/password]
TargetName This property is required. string
The target name to associate
AuthenticationCredentials string
The credentials to connect with [use-self-creds/use-target-creds]
AutoRotate string
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
Description string
Description of the object
Key string
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
Name string
Secret name
PasswordLength string
The length of the password to be generated
RotatedPassword string
rotated-username password (relevant only for rotator-type=password)
RotatedSecretRedshiftId string
The ID of this resource.
RotatedUsername string
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
RotationHour float64
The Hour of the rotation in UTC
RotationInterval string
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
rotatorType This property is required. String
The rotator type [target/password]
targetName This property is required. String
The target name to associate
authenticationCredentials String
The credentials to connect with [use-self-creds/use-target-creds]
autoRotate String
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description String
Description of the object
key String
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name String
Secret name
passwordLength String
The length of the password to be generated
rotatedPassword String
rotated-username password (relevant only for rotator-type=password)
rotatedSecretRedshiftId String
The ID of this resource.
rotatedUsername String
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotationHour Double
The Hour of the rotation in UTC
rotationInterval String
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
rotatorType This property is required. string
The rotator type [target/password]
targetName This property is required. string
The target name to associate
authenticationCredentials string
The credentials to connect with [use-self-creds/use-target-creds]
autoRotate string
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description string
Description of the object
key string
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name string
Secret name
passwordLength string
The length of the password to be generated
rotatedPassword string
rotated-username password (relevant only for rotator-type=password)
rotatedSecretRedshiftId string
The ID of this resource.
rotatedUsername string
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotationHour number
The Hour of the rotation in UTC
rotationInterval string
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
rotator_type This property is required. str
The rotator type [target/password]
target_name This property is required. str
The target name to associate
authentication_credentials str
The credentials to connect with [use-self-creds/use-target-creds]
auto_rotate str
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description str
Description of the object
key str
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name str
Secret name
password_length str
The length of the password to be generated
rotated_password str
rotated-username password (relevant only for rotator-type=password)
rotated_secret_redshift_id str
The ID of this resource.
rotated_username str
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotation_hour float
The Hour of the rotation in UTC
rotation_interval str
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
tags Sequence[str]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
rotatorType This property is required. String
The rotator type [target/password]
targetName This property is required. String
The target name to associate
authenticationCredentials String
The credentials to connect with [use-self-creds/use-target-creds]
autoRotate String
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description String
Description of the object
key String
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name String
Secret name
passwordLength String
The length of the password to be generated
rotatedPassword String
rotated-username password (relevant only for rotator-type=password)
rotatedSecretRedshiftId String
The ID of this resource.
rotatedUsername String
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotationHour Number
The Hour of the rotation in UTC
rotationInterval String
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2

Outputs

All input properties are implicitly available as output properties. Additionally, the RotatedSecretRedshift 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 RotatedSecretRedshift Resource

Get an existing RotatedSecretRedshift 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?: RotatedSecretRedshiftState, opts?: CustomResourceOptions): RotatedSecretRedshift
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication_credentials: Optional[str] = None,
        auto_rotate: Optional[str] = None,
        description: Optional[str] = None,
        key: Optional[str] = None,
        name: Optional[str] = None,
        password_length: Optional[str] = None,
        rotated_password: Optional[str] = None,
        rotated_secret_redshift_id: Optional[str] = None,
        rotated_username: Optional[str] = None,
        rotation_hour: Optional[float] = None,
        rotation_interval: Optional[str] = None,
        rotator_type: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        target_name: Optional[str] = None) -> RotatedSecretRedshift
func GetRotatedSecretRedshift(ctx *Context, name string, id IDInput, state *RotatedSecretRedshiftState, opts ...ResourceOption) (*RotatedSecretRedshift, error)
public static RotatedSecretRedshift Get(string name, Input<string> id, RotatedSecretRedshiftState? state, CustomResourceOptions? opts = null)
public static RotatedSecretRedshift get(String name, Output<String> id, RotatedSecretRedshiftState state, CustomResourceOptions options)
resources:  _:    type: akeyless:RotatedSecretRedshift    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:
AuthenticationCredentials string
The credentials to connect with [use-self-creds/use-target-creds]
AutoRotate string
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
Description string
Description of the object
Key string
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
Name string
Secret name
PasswordLength string
The length of the password to be generated
RotatedPassword string
rotated-username password (relevant only for rotator-type=password)
RotatedSecretRedshiftId string
The ID of this resource.
RotatedUsername string
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
RotationHour double
The Hour of the rotation in UTC
RotationInterval string
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
RotatorType string
The rotator type [target/password]
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
The target name to associate
AuthenticationCredentials string
The credentials to connect with [use-self-creds/use-target-creds]
AutoRotate string
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
Description string
Description of the object
Key string
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
Name string
Secret name
PasswordLength string
The length of the password to be generated
RotatedPassword string
rotated-username password (relevant only for rotator-type=password)
RotatedSecretRedshiftId string
The ID of this resource.
RotatedUsername string
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
RotationHour float64
The Hour of the rotation in UTC
RotationInterval string
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
RotatorType string
The rotator type [target/password]
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
The target name to associate
authenticationCredentials String
The credentials to connect with [use-self-creds/use-target-creds]
autoRotate String
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description String
Description of the object
key String
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name String
Secret name
passwordLength String
The length of the password to be generated
rotatedPassword String
rotated-username password (relevant only for rotator-type=password)
rotatedSecretRedshiftId String
The ID of this resource.
rotatedUsername String
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotationHour Double
The Hour of the rotation in UTC
rotationInterval String
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
rotatorType String
The rotator type [target/password]
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
The target name to associate
authenticationCredentials string
The credentials to connect with [use-self-creds/use-target-creds]
autoRotate string
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description string
Description of the object
key string
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name string
Secret name
passwordLength string
The length of the password to be generated
rotatedPassword string
rotated-username password (relevant only for rotator-type=password)
rotatedSecretRedshiftId string
The ID of this resource.
rotatedUsername string
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotationHour number
The Hour of the rotation in UTC
rotationInterval string
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
rotatorType string
The rotator type [target/password]
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName string
The target name to associate
authentication_credentials str
The credentials to connect with [use-self-creds/use-target-creds]
auto_rotate str
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description str
Description of the object
key str
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name str
Secret name
password_length str
The length of the password to be generated
rotated_password str
rotated-username password (relevant only for rotator-type=password)
rotated_secret_redshift_id str
The ID of this resource.
rotated_username str
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotation_hour float
The Hour of the rotation in UTC
rotation_interval str
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
rotator_type str
The rotator type [target/password]
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
The target name to associate
authenticationCredentials String
The credentials to connect with [use-self-creds/use-target-creds]
autoRotate String
Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
description String
Description of the object
key String
The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
name String
Secret name
passwordLength String
The length of the password to be generated
rotatedPassword String
rotated-username password (relevant only for rotator-type=password)
rotatedSecretRedshiftId String
The ID of this resource.
rotatedUsername String
username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
rotationHour Number
The Hour of the rotation in UTC
rotationInterval String
The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
rotatorType String
The rotator type [target/password]
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
The target name to associate

Package Details

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