akeyless.RotatedSecret
Explore with Pulumi AI
Rotated secret resource
Create RotatedSecret Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RotatedSecret(name: string, args: RotatedSecretArgs, opts?: CustomResourceOptions);
@overload
def RotatedSecret(resource_name: str,
args: RotatedSecretArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RotatedSecret(resource_name: str,
opts: Optional[ResourceOptions] = None,
rotator_type: Optional[str] = None,
target_name: Optional[str] = None,
rotated_password: Optional[str] = None,
rotation_hour: Optional[float] = None,
custom_payload: Optional[str] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
api_id: Optional[str] = None,
rotated_secret_id: Optional[str] = None,
rotated_username: Optional[str] = None,
auto_rotate: Optional[str] = None,
rotation_interval: Optional[str] = None,
rotator_custom_cmd: Optional[str] = None,
authentication_credentials: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
api_key: Optional[str] = None,
user_attribute: Optional[str] = None,
user_dn: Optional[str] = None)
func NewRotatedSecret(ctx *Context, name string, args RotatedSecretArgs, opts ...ResourceOption) (*RotatedSecret, error)
public RotatedSecret(string name, RotatedSecretArgs args, CustomResourceOptions? opts = null)
public RotatedSecret(String name, RotatedSecretArgs args)
public RotatedSecret(String name, RotatedSecretArgs args, CustomResourceOptions options)
type: akeyless:RotatedSecret
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 RotatedSecretArgs
- 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 RotatedSecretArgs
- 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 RotatedSecretArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RotatedSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RotatedSecretArgs
- 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 rotatedSecretResource = new Akeyless.RotatedSecret("rotatedSecretResource", new()
{
RotatorType = "string",
TargetName = "string",
RotatedPassword = "string",
RotationHour = 0,
CustomPayload = "string",
Description = "string",
Key = "string",
Name = "string",
ApiId = "string",
RotatedSecretId = "string",
RotatedUsername = "string",
AutoRotate = "string",
RotationInterval = "string",
RotatorCustomCmd = "string",
AuthenticationCredentials = "string",
Tags = new[]
{
"string",
},
ApiKey = "string",
UserAttribute = "string",
UserDn = "string",
});
example, err := akeyless.NewRotatedSecret(ctx, "rotatedSecretResource", &akeyless.RotatedSecretArgs{
RotatorType: pulumi.String("string"),
TargetName: pulumi.String("string"),
RotatedPassword: pulumi.String("string"),
RotationHour: pulumi.Float64(0),
CustomPayload: pulumi.String("string"),
Description: pulumi.String("string"),
Key: pulumi.String("string"),
Name: pulumi.String("string"),
ApiId: pulumi.String("string"),
RotatedSecretId: pulumi.String("string"),
RotatedUsername: pulumi.String("string"),
AutoRotate: pulumi.String("string"),
RotationInterval: pulumi.String("string"),
RotatorCustomCmd: pulumi.String("string"),
AuthenticationCredentials: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
ApiKey: pulumi.String("string"),
UserAttribute: pulumi.String("string"),
UserDn: pulumi.String("string"),
})
var rotatedSecretResource = new RotatedSecret("rotatedSecretResource", RotatedSecretArgs.builder()
.rotatorType("string")
.targetName("string")
.rotatedPassword("string")
.rotationHour(0)
.customPayload("string")
.description("string")
.key("string")
.name("string")
.apiId("string")
.rotatedSecretId("string")
.rotatedUsername("string")
.autoRotate("string")
.rotationInterval("string")
.rotatorCustomCmd("string")
.authenticationCredentials("string")
.tags("string")
.apiKey("string")
.userAttribute("string")
.userDn("string")
.build());
rotated_secret_resource = akeyless.RotatedSecret("rotatedSecretResource",
rotator_type="string",
target_name="string",
rotated_password="string",
rotation_hour=0,
custom_payload="string",
description="string",
key="string",
name="string",
api_id="string",
rotated_secret_id="string",
rotated_username="string",
auto_rotate="string",
rotation_interval="string",
rotator_custom_cmd="string",
authentication_credentials="string",
tags=["string"],
api_key="string",
user_attribute="string",
user_dn="string")
const rotatedSecretResource = new akeyless.RotatedSecret("rotatedSecretResource", {
rotatorType: "string",
targetName: "string",
rotatedPassword: "string",
rotationHour: 0,
customPayload: "string",
description: "string",
key: "string",
name: "string",
apiId: "string",
rotatedSecretId: "string",
rotatedUsername: "string",
autoRotate: "string",
rotationInterval: "string",
rotatorCustomCmd: "string",
authenticationCredentials: "string",
tags: ["string"],
apiKey: "string",
userAttribute: "string",
userDn: "string",
});
type: akeyless:RotatedSecret
properties:
apiId: string
apiKey: string
authenticationCredentials: string
autoRotate: string
customPayload: string
description: string
key: string
name: string
rotatedPassword: string
rotatedSecretId: string
rotatedUsername: string
rotationHour: 0
rotationInterval: string
rotatorCustomCmd: string
rotatorType: string
tags:
- string
targetName: string
userAttribute: string
userDn: string
RotatedSecret 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 RotatedSecret resource accepts the following input properties:
- Rotator
Type string - The rotator type password/target/api-key/ldap/custom
- Target
Name string - The target name to associate
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- Authentication
Credentials string - The credentials to connect with use-user-creds/use-target-creds
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- Custom
Payload string - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringId - The ID of this resource.
- Rotated
Username 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)
- Rotation
Hour double - The Hour of the rotation in UTC
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- Rotator
Custom stringCmd - Custom rotation command (relevant only for ssh target)
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- User
Attribute string - LDAP User Attribute
- User
Dn string - Base DN to Perform User Search
- Rotator
Type string - The rotator type password/target/api-key/ldap/custom
- Target
Name string - The target name to associate
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- Authentication
Credentials string - The credentials to connect with use-user-creds/use-target-creds
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- Custom
Payload string - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringId - The ID of this resource.
- Rotated
Username 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)
- Rotation
Hour float64 - The Hour of the rotation in UTC
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- Rotator
Custom stringCmd - Custom rotation command (relevant only for ssh target)
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- User
Attribute string - LDAP User Attribute
- User
Dn string - Base DN to Perform User Search
- rotator
Type String - The rotator type password/target/api-key/ldap/custom
- target
Name String - The target name to associate
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- authentication
Credentials String - The credentials to connect with use-user-creds/use-target-creds
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom
Payload String - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringId - The ID of this resource.
- rotated
Username 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)
- rotation
Hour Double - The Hour of the rotation in UTC
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- rotator
Custom StringCmd - Custom rotation command (relevant only for ssh target)
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- user
Attribute String - LDAP User Attribute
- user
Dn String - Base DN to Perform User Search
- rotator
Type string - The rotator type password/target/api-key/ldap/custom
- target
Name string - The target name to associate
- api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- authentication
Credentials string - The credentials to connect with use-user-creds/use-target-creds
- auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom
Payload string - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret stringId - The ID of this resource.
- rotated
Username 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)
- rotation
Hour number - The Hour of the rotation in UTC
- rotation
Interval string - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- rotator
Custom stringCmd - Custom rotation command (relevant only for ssh target)
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- user
Attribute string - LDAP User Attribute
- user
Dn string - Base DN to Perform User Search
- rotator_
type str - The rotator type password/target/api-key/ldap/custom
- target_
name str - The target name to associate
- api_
id str - API ID to rotate (relevant only for rotator-type=api-key)
- api_
key str - API key to rotate (relevant only for rotator-type=api-key)
- authentication_
credentials str - The credentials to connect with use-user-creds/use-target-creds
- auto_
rotate str - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom_
payload str - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated_
password str - rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ strid - 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_
custom_ strcmd - Custom rotation command (relevant only for ssh target)
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- user_
attribute str - LDAP User Attribute
- user_
dn str - Base DN to Perform User Search
- rotator
Type String - The rotator type password/target/api-key/ldap/custom
- target
Name String - The target name to associate
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- authentication
Credentials String - The credentials to connect with use-user-creds/use-target-creds
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom
Payload String - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringId - The ID of this resource.
- rotated
Username 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)
- rotation
Hour Number - The Hour of the rotation in UTC
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- rotator
Custom StringCmd - Custom rotation command (relevant only for ssh target)
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- user
Attribute String - LDAP User Attribute
- user
Dn String - Base DN to Perform User Search
Outputs
All input properties are implicitly available as output properties. Additionally, the RotatedSecret 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 RotatedSecret Resource
Get an existing RotatedSecret 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?: RotatedSecretState, opts?: CustomResourceOptions): RotatedSecret
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[str] = None,
api_key: Optional[str] = None,
authentication_credentials: Optional[str] = None,
auto_rotate: Optional[str] = None,
custom_payload: Optional[str] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
rotated_password: Optional[str] = None,
rotated_secret_id: Optional[str] = None,
rotated_username: Optional[str] = None,
rotation_hour: Optional[float] = None,
rotation_interval: Optional[str] = None,
rotator_custom_cmd: Optional[str] = None,
rotator_type: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None,
user_attribute: Optional[str] = None,
user_dn: Optional[str] = None) -> RotatedSecret
func GetRotatedSecret(ctx *Context, name string, id IDInput, state *RotatedSecretState, opts ...ResourceOption) (*RotatedSecret, error)
public static RotatedSecret Get(string name, Input<string> id, RotatedSecretState? state, CustomResourceOptions? opts = null)
public static RotatedSecret get(String name, Output<String> id, RotatedSecretState state, CustomResourceOptions options)
resources: _: type: akeyless:RotatedSecret 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.
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- Authentication
Credentials string - The credentials to connect with use-user-creds/use-target-creds
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- Custom
Payload string - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringId - The ID of this resource.
- Rotated
Username 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)
- Rotation
Hour double - The Hour of the rotation in UTC
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- Rotator
Custom stringCmd - Custom rotation command (relevant only for ssh target)
- Rotator
Type string - The rotator type password/target/api-key/ldap/custom
- 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 - The target name to associate
- User
Attribute string - LDAP User Attribute
- User
Dn string - Base DN to Perform User Search
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- Authentication
Credentials string - The credentials to connect with use-user-creds/use-target-creds
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- Custom
Payload string - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringId - The ID of this resource.
- Rotated
Username 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)
- Rotation
Hour float64 - The Hour of the rotation in UTC
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- Rotator
Custom stringCmd - Custom rotation command (relevant only for ssh target)
- Rotator
Type string - The rotator type password/target/api-key/ldap/custom
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - The target name to associate
- User
Attribute string - LDAP User Attribute
- User
Dn string - Base DN to Perform User Search
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- authentication
Credentials String - The credentials to connect with use-user-creds/use-target-creds
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom
Payload String - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringId - The ID of this resource.
- rotated
Username 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)
- rotation
Hour Double - The Hour of the rotation in UTC
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- rotator
Custom StringCmd - Custom rotation command (relevant only for ssh target)
- rotator
Type String - The rotator type password/target/api-key/ldap/custom
- 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 - The target name to associate
- user
Attribute String - LDAP User Attribute
- user
Dn String - Base DN to Perform User Search
- api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- authentication
Credentials string - The credentials to connect with use-user-creds/use-target-creds
- auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom
Payload string - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret stringId - The ID of this resource.
- rotated
Username 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)
- rotation
Hour number - The Hour of the rotation in UTC
- rotation
Interval string - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- rotator
Custom stringCmd - Custom rotation command (relevant only for ssh target)
- rotator
Type string - The rotator type password/target/api-key/ldap/custom
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - The target name to associate
- user
Attribute string - LDAP User Attribute
- user
Dn string - Base DN to Perform User Search
- api_
id str - API ID to rotate (relevant only for rotator-type=api-key)
- api_
key str - API key to rotate (relevant only for rotator-type=api-key)
- authentication_
credentials str - The credentials to connect with use-user-creds/use-target-creds
- auto_
rotate str - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom_
payload str - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated_
password str - rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ strid - 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_
custom_ strcmd - Custom rotation command (relevant only for ssh target)
- rotator_
type str - The rotator type password/target/api-key/ldap/custom
- 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
- user_
attribute str - LDAP User Attribute
- user_
dn str - Base DN to Perform User Search
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- authentication
Credentials String - The credentials to connect with use-user-creds/use-target-creds
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
- custom
Payload String - Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
- 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
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringId - The ID of this resource.
- rotated
Username 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)
- rotation
Hour Number - The Hour of the rotation in UTC
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
- rotator
Custom StringCmd - Custom rotation command (relevant only for ssh target)
- rotator
Type String - The rotator type password/target/api-key/ldap/custom
- 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 - The target name to associate
- user
Attribute String - LDAP User Attribute
- user
Dn String - Base DN to Perform User Search
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.