published on Thursday, Nov 19, 2026 by akeyless-community
published on Thursday, Nov 19, 2026 by akeyless-community
Mysql rotated secret resource
Create RotatedSecretMysql Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RotatedSecretMysql(name: string, args: RotatedSecretMysqlArgs, opts?: CustomResourceOptions);@overload
def RotatedSecretMysql(resource_name: str,
args: RotatedSecretMysqlArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RotatedSecretMysql(resource_name: str,
opts: Optional[ResourceOptions] = None,
rotator_type: Optional[str] = None,
target_name: Optional[str] = None,
rotate_after_disconnect: Optional[str] = None,
rotation_interval: Optional[str] = None,
description: Optional[str] = None,
enable_agentic_runtime_authority: Optional[bool] = None,
enable_ai_quorum: Optional[bool] = None,
input_rules: Optional[Sequence[str]] = None,
item_custom_fields: Optional[Mapping[str, str]] = None,
keep_prev_version: Optional[str] = None,
key: Optional[str] = None,
max_versions: Optional[str] = None,
name: Optional[str] = None,
output_rules: Optional[Sequence[str]] = None,
password_length: Optional[str] = None,
retry: Optional[RotatedSecretMysqlRetryArgs] = None,
delete_protection: Optional[str] = None,
ara_enabled: Optional[bool] = None,
secure_access_certificate_issuer: Optional[str] = None,
rotated_username: Optional[str] = None,
rotation_event_ins: Optional[Sequence[str]] = None,
rotation_hour: Optional[float] = None,
rotated_password: Optional[str] = None,
auto_rotate: Optional[str] = None,
rotated_secret_mysql_id: 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,
skip_dry_run: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
authentication_credentials: Optional[str] = None)func NewRotatedSecretMysql(ctx *Context, name string, args RotatedSecretMysqlArgs, opts ...ResourceOption) (*RotatedSecretMysql, error)public RotatedSecretMysql(string name, RotatedSecretMysqlArgs args, CustomResourceOptions? opts = null)
public RotatedSecretMysql(String name, RotatedSecretMysqlArgs args)
public RotatedSecretMysql(String name, RotatedSecretMysqlArgs args, CustomResourceOptions options)
type: akeyless:RotatedSecretMysql
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "akeyless_rotated_secret_mysql" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RotatedSecretMysqlArgs
- 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 RotatedSecretMysqlArgs
- 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 RotatedSecretMysqlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RotatedSecretMysqlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RotatedSecretMysqlArgs
- 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 rotatedSecretMysqlResource = new Akeyless.RotatedSecretMysql("rotatedSecretMysqlResource", new()
{
RotatorType = "string",
TargetName = "string",
RotateAfterDisconnect = "string",
RotationInterval = "string",
Description = "string",
EnableAgenticRuntimeAuthority = false,
EnableAiQuorum = false,
InputRules = new[]
{
"string",
},
ItemCustomFields =
{
{ "string", "string" },
},
KeepPrevVersion = "string",
Key = "string",
MaxVersions = "string",
Name = "string",
OutputRules = new[]
{
"string",
},
PasswordLength = "string",
Retry = new Akeyless.Inputs.RotatedSecretMysqlRetryArgs
{
ErrorMessageRegexes = new[]
{
"string",
},
IntervalSeconds = 0.0,
MaxIntervalSeconds = 0.0,
MaxRetries = 0.0,
RetryOnStatusCodes = new[]
{
0.0,
},
},
DeleteProtection = "string",
AraEnabled = false,
SecureAccessCertificateIssuer = "string",
RotatedUsername = "string",
RotationEventIns = new[]
{
"string",
},
RotationHour = 0.0,
RotatedPassword = "string",
AutoRotate = "string",
RotatedSecretMysqlId = "string",
SecureAccessDbName = "string",
SecureAccessEnable = "string",
SecureAccessHosts = new[]
{
"string",
},
SecureAccessWeb = false,
SkipDryRun = false,
Tags = new[]
{
"string",
},
AuthenticationCredentials = "string",
});
example, err := akeyless.NewRotatedSecretMysql(ctx, "rotatedSecretMysqlResource", &akeyless.RotatedSecretMysqlArgs{
RotatorType: pulumi.String("string"),
TargetName: pulumi.String("string"),
RotateAfterDisconnect: pulumi.String("string"),
RotationInterval: pulumi.String("string"),
Description: pulumi.String("string"),
EnableAgenticRuntimeAuthority: pulumi.Bool(false),
EnableAiQuorum: pulumi.Bool(false),
InputRules: pulumi.StringArray{
pulumi.String("string"),
},
ItemCustomFields: pulumi.StringMap{
"string": pulumi.String("string"),
},
KeepPrevVersion: pulumi.String("string"),
Key: pulumi.String("string"),
MaxVersions: pulumi.String("string"),
Name: pulumi.String("string"),
OutputRules: pulumi.StringArray{
pulumi.String("string"),
},
PasswordLength: pulumi.String("string"),
Retry: &akeyless.RotatedSecretMysqlRetryArgs{
ErrorMessageRegexes: pulumi.StringArray{
pulumi.String("string"),
},
IntervalSeconds: pulumi.Float64(0),
MaxIntervalSeconds: pulumi.Float64(0),
MaxRetries: pulumi.Float64(0),
RetryOnStatusCodes: pulumi.Float64Array{
pulumi.Float64(0),
},
},
DeleteProtection: pulumi.String("string"),
AraEnabled: pulumi.Bool(false),
SecureAccessCertificateIssuer: pulumi.String("string"),
RotatedUsername: pulumi.String("string"),
RotationEventIns: pulumi.StringArray{
pulumi.String("string"),
},
RotationHour: pulumi.Float64(0),
RotatedPassword: pulumi.String("string"),
AutoRotate: pulumi.String("string"),
RotatedSecretMysqlId: pulumi.String("string"),
SecureAccessDbName: pulumi.String("string"),
SecureAccessEnable: pulumi.String("string"),
SecureAccessHosts: pulumi.StringArray{
pulumi.String("string"),
},
SecureAccessWeb: pulumi.Bool(false),
SkipDryRun: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
AuthenticationCredentials: pulumi.String("string"),
})
resource "akeyless_rotated_secret_mysql" "rotatedSecretMysqlResource" {
lifecycle {
create_before_destroy = true
}
rotator_type = "string"
target_name = "string"
rotate_after_disconnect = "string"
rotation_interval = "string"
description = "string"
enable_agentic_runtime_authority = false
enable_ai_quorum = false
input_rules = ["string"]
item_custom_fields = {
"string" = "string"
}
keep_prev_version = "string"
key = "string"
max_versions = "string"
name = "string"
output_rules = ["string"]
password_length = "string"
retry = {
error_message_regexes = ["string"]
interval_seconds = 0
max_interval_seconds = 0
max_retries = 0
retry_on_status_codes = [0]
}
delete_protection = "string"
ara_enabled = false
secure_access_certificate_issuer = "string"
rotated_username = "string"
rotation_event_ins = ["string"]
rotation_hour = 0
rotated_password = "string"
auto_rotate = "string"
rotated_secret_mysql_id = "string"
secure_access_db_name = "string"
secure_access_enable = "string"
secure_access_hosts = ["string"]
secure_access_web = false
skip_dry_run = false
tags = ["string"]
authentication_credentials = "string"
}
var rotatedSecretMysqlResource = new RotatedSecretMysql("rotatedSecretMysqlResource", RotatedSecretMysqlArgs.builder()
.rotatorType("string")
.targetName("string")
.rotateAfterDisconnect("string")
.rotationInterval("string")
.description("string")
.enableAgenticRuntimeAuthority(false)
.enableAiQuorum(false)
.inputRules("string")
.itemCustomFields(Map.of("string", "string"))
.keepPrevVersion("string")
.key("string")
.maxVersions("string")
.name("string")
.outputRules("string")
.passwordLength("string")
.retry(RotatedSecretMysqlRetryArgs.builder()
.errorMessageRegexes("string")
.intervalSeconds(0.0)
.maxIntervalSeconds(0.0)
.maxRetries(0.0)
.retryOnStatusCodes(0.0)
.build())
.deleteProtection("string")
.araEnabled(false)
.secureAccessCertificateIssuer("string")
.rotatedUsername("string")
.rotationEventIns("string")
.rotationHour(0.0)
.rotatedPassword("string")
.autoRotate("string")
.rotatedSecretMysqlId("string")
.secureAccessDbName("string")
.secureAccessEnable("string")
.secureAccessHosts("string")
.secureAccessWeb(false)
.skipDryRun(false)
.tags("string")
.authenticationCredentials("string")
.build());
rotated_secret_mysql_resource = akeyless.RotatedSecretMysql("rotatedSecretMysqlResource",
rotator_type="string",
target_name="string",
rotate_after_disconnect="string",
rotation_interval="string",
description="string",
enable_agentic_runtime_authority=False,
enable_ai_quorum=False,
input_rules=["string"],
item_custom_fields={
"string": "string",
},
keep_prev_version="string",
key="string",
max_versions="string",
name="string",
output_rules=["string"],
password_length="string",
retry={
"error_message_regexes": ["string"],
"interval_seconds": float(0),
"max_interval_seconds": float(0),
"max_retries": float(0),
"retry_on_status_codes": [float(0)],
},
delete_protection="string",
ara_enabled=False,
secure_access_certificate_issuer="string",
rotated_username="string",
rotation_event_ins=["string"],
rotation_hour=float(0),
rotated_password="string",
auto_rotate="string",
rotated_secret_mysql_id="string",
secure_access_db_name="string",
secure_access_enable="string",
secure_access_hosts=["string"],
secure_access_web=False,
skip_dry_run=False,
tags=["string"],
authentication_credentials="string")
const rotatedSecretMysqlResource = new akeyless.RotatedSecretMysql("rotatedSecretMysqlResource", {
rotatorType: "string",
targetName: "string",
rotateAfterDisconnect: "string",
rotationInterval: "string",
description: "string",
enableAgenticRuntimeAuthority: false,
enableAiQuorum: false,
inputRules: ["string"],
itemCustomFields: {
string: "string",
},
keepPrevVersion: "string",
key: "string",
maxVersions: "string",
name: "string",
outputRules: ["string"],
passwordLength: "string",
retry: {
errorMessageRegexes: ["string"],
intervalSeconds: 0,
maxIntervalSeconds: 0,
maxRetries: 0,
retryOnStatusCodes: [0],
},
deleteProtection: "string",
araEnabled: false,
secureAccessCertificateIssuer: "string",
rotatedUsername: "string",
rotationEventIns: ["string"],
rotationHour: 0,
rotatedPassword: "string",
autoRotate: "string",
rotatedSecretMysqlId: "string",
secureAccessDbName: "string",
secureAccessEnable: "string",
secureAccessHosts: ["string"],
secureAccessWeb: false,
skipDryRun: false,
tags: ["string"],
authenticationCredentials: "string",
});
type: akeyless:RotatedSecretMysql
properties:
araEnabled: false
authenticationCredentials: string
autoRotate: string
deleteProtection: string
description: string
enableAgenticRuntimeAuthority: false
enableAiQuorum: false
inputRules:
- string
itemCustomFields:
string: string
keepPrevVersion: string
key: string
maxVersions: string
name: string
outputRules:
- string
passwordLength: string
retry:
errorMessageRegexes:
- string
intervalSeconds: 0
maxIntervalSeconds: 0
maxRetries: 0
retryOnStatusCodes:
- 0
rotateAfterDisconnect: string
rotatedPassword: string
rotatedSecretMysqlId: string
rotatedUsername: string
rotationEventIns:
- string
rotationHour: 0
rotationInterval: string
rotatorType: string
secureAccessCertificateIssuer: string
secureAccessDbName: string
secureAccessEnable: string
secureAccessHosts:
- string
secureAccessWeb: false
skipDryRun: false
tags:
- string
targetName: string
RotatedSecretMysql 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 RotatedSecretMysql resource accepts the following input properties:
- Rotator
Type string - The rotator type [target/password]
- Target
Name string - The target name to associate
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Authentication
Credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- Auto
Rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Input
Rules List<string> - Password input rule definitions
- Item
Custom Dictionary<string, string>Fields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Name string
- Secret name
- Output
Rules List<string> - Password output rule definitions
- Password
Length string - The length of the password to be generated
- Retry
Rotated
Secret Mysql Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringMysql Id - 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
Event List<string>Ins - How many days before the rotation of the item would you like to be notified
- 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
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access List<string>Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Skip
Dry boolRun - Skip dry run
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Rotator
Type string - The rotator type [target/password]
- Target
Name string - The target name to associate
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Authentication
Credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- Auto
Rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Input
Rules []string - Password input rule definitions
- Item
Custom map[string]stringFields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Name string
- Secret name
- Output
Rules []string - Password output rule definitions
- Password
Length string - The length of the password to be generated
- Retry
Rotated
Secret Mysql Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringMysql Id - 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
Event []stringIns - How many days before the rotation of the item would you like to be notified
- 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
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access []stringHosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Skip
Dry boolRun - Skip dry run
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- rotator_
type string - The rotator type [target/password]
- target_
name string - The target name to associate
- ara_
enabled bool - Enable Agentic Runtime Authority
- authentication_
credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- auto_
rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete_
protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- input_
rules list(string) - Password input rule definitions
- item_
custom_ map(string)fields - Additional custom fields to associate with the item
- keep_
prev_ stringversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max_
versions string - Set the maximum number of versions, limited by the account settings defaults
- name string
- Secret name
- output_
rules list(string) - Password output rule definitions
- password_
length string - The length of the password to be generated
- retry object
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate_
after_ stringdisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated_
password string - rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ stringmysql_ id - 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_
event_ list(string)ins - How many days before the rotation of the item would you like to be notified
- 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
- secure_
access_ stringcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ stringdb_ name - The DB name (relevant only for DB Dynamic-Secret)
- secure_
access_ stringenable - Enable/Disable secure remote access [true/false]
- secure_
access_ list(string)hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure_
access_ boolweb - Enable Web Secure Remote Access
- skip_
dry_ boolrun - Skip dry run
- list(string)
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- rotator
Type String - The rotator type [target/password]
- target
Name String - The target name to associate
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- authentication
Credentials String - The credentials to connect with [use-self-creds/use-target-creds]
- auto
Rotate String - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String,String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- name String
- Secret name
- output
Rules List<String> - Password output rule definitions
- password
Length String - The length of the password to be generated
- retry
Rotated
Secret Mysql Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringMysql Id - 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
Event List<String>Ins - How many days before the rotation of the item would you like to be notified
- 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
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access List<String>Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- skip
Dry BooleanRun - Skip dry run
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- rotator
Type string - The rotator type [target/password]
- target
Name string - The target name to associate
- ara
Enabled boolean - Enable Agentic Runtime Authority
- authentication
Credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- auto
Rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete
Protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- boolean
- Enable Agentic Runtime Authority
- enable
Ai booleanQuorum - Enable AI Quorum
- input
Rules string[] - Password input rule definitions
- item
Custom {[key: string]: string}Fields - Additional custom fields to associate with the item
- keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- name string
- Secret name
- output
Rules string[] - Password output rule definitions
- password
Length string - The length of the password to be generated
- retry
Rotated
Secret Mysql Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret stringMysql Id - 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
Event string[]Ins - How many days before the rotation of the item would you like to be notified
- 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
- secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access stringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- secure
Access string[]Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure
Access booleanWeb - Enable Web Secure Remote Access
- skip
Dry booleanRun - Skip dry run
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- rotator_
type str - The rotator type [target/password]
- target_
name str - The target name to associate
- ara_
enabled bool - Enable Agentic Runtime Authority
- 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
- delete_
protection str - Protection from accidental deletion of this object [true/false]
- description str
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- input_
rules Sequence[str] - Password input rule definitions
- item_
custom_ Mapping[str, str]fields - Additional custom fields to associate with the item
- keep_
prev_ strversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max_
versions str - Set the maximum number of versions, limited by the account settings defaults
- name str
- Secret name
- output_
rules Sequence[str] - Password output rule definitions
- password_
length str - The length of the password to be generated
- retry
Rotated
Secret Mysql Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate_
after_ strdisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated_
password str - rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ strmysql_ id - 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_
event_ Sequence[str]ins - How many days before the rotation of the item would you like to be notified
- 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
- secure_
access_ strcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ strdb_ name - The DB name (relevant only for DB Dynamic-Secret)
- secure_
access_ strenable - Enable/Disable secure remote access [true/false]
- secure_
access_ Sequence[str]hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure_
access_ boolweb - Enable Web Secure Remote Access
- skip_
dry_ boolrun - Skip dry run
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- rotator
Type String - The rotator type [target/password]
- target
Name String - The target name to associate
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- authentication
Credentials String - The credentials to connect with [use-self-creds/use-target-creds]
- auto
Rotate String - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- name String
- Secret name
- output
Rules List<String> - Password output rule definitions
- password
Length String - The length of the password to be generated
- retry Property Map
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringMysql Id - 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
Event List<String>Ins - How many days before the rotation of the item would you like to be notified
- 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
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access List<String>Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- skip
Dry BooleanRun - Skip dry run
- 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 RotatedSecretMysql 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 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 RotatedSecretMysql Resource
Get an existing RotatedSecretMysql 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?: RotatedSecretMysqlState, opts?: CustomResourceOptions): RotatedSecretMysql@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ara_enabled: Optional[bool] = None,
authentication_credentials: Optional[str] = None,
auto_rotate: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
enable_agentic_runtime_authority: Optional[bool] = None,
enable_ai_quorum: Optional[bool] = None,
input_rules: Optional[Sequence[str]] = None,
item_custom_fields: Optional[Mapping[str, str]] = None,
keep_prev_version: Optional[str] = None,
key: Optional[str] = None,
max_versions: Optional[str] = None,
name: Optional[str] = None,
output_rules: Optional[Sequence[str]] = None,
password_length: Optional[str] = None,
retry: Optional[RotatedSecretMysqlRetryArgs] = None,
rotate_after_disconnect: Optional[str] = None,
rotated_password: Optional[str] = None,
rotated_secret_mysql_id: Optional[str] = None,
rotated_username: Optional[str] = None,
rotation_event_ins: Optional[Sequence[str]] = None,
rotation_hour: Optional[float] = None,
rotation_interval: Optional[str] = None,
rotator_type: Optional[str] = None,
secure_access_certificate_issuer: 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,
skip_dry_run: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None) -> RotatedSecretMysqlfunc GetRotatedSecretMysql(ctx *Context, name string, id IDInput, state *RotatedSecretMysqlState, opts ...ResourceOption) (*RotatedSecretMysql, error)public static RotatedSecretMysql Get(string name, Input<string> id, RotatedSecretMysqlState? state, CustomResourceOptions? opts = null)public static RotatedSecretMysql get(String name, Output<String> id, RotatedSecretMysqlState state, CustomResourceOptions options)resources: existingRotatedSecretMysql: type: akeyless:RotatedSecretMysql get: id: ${id}import {
to = akeyless_rotated_secret_mysql.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state RotatedSecretMysqlState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state RotatedSecretMysqlState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state RotatedSecretMysqlState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state RotatedSecretMysqlState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Authentication
Credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- Auto
Rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Input
Rules List<string> - Password input rule definitions
- Item
Custom Dictionary<string, string>Fields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Name string
- Secret name
- Output
Rules List<string> - Password output rule definitions
- Password
Length string - The length of the password to be generated
- Retry
Rotated
Secret Mysql Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringMysql Id - 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
Event List<string>Ins - How many days before the rotation of the item would you like to be notified
- 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
Type string - The rotator type [target/password]
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access List<string>Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Skip
Dry boolRun - Skip dry run
- 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
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Authentication
Credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- Auto
Rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Input
Rules []string - Password input rule definitions
- Item
Custom map[string]stringFields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Name string
- Secret name
- Output
Rules []string - Password output rule definitions
- Password
Length string - The length of the password to be generated
- Retry
Rotated
Secret Mysql Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringMysql Id - 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
Event []stringIns - How many days before the rotation of the item would you like to be notified
- 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
Type string - The rotator type [target/password]
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access []stringHosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Skip
Dry boolRun - Skip dry run
- []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
- ara_
enabled bool - Enable Agentic Runtime Authority
- authentication_
credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- auto_
rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete_
protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- input_
rules list(string) - Password input rule definitions
- item_
custom_ map(string)fields - Additional custom fields to associate with the item
- keep_
prev_ stringversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max_
versions string - Set the maximum number of versions, limited by the account settings defaults
- name string
- Secret name
- output_
rules list(string) - Password output rule definitions
- password_
length string - The length of the password to be generated
- retry object
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate_
after_ stringdisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated_
password string - rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ stringmysql_ id - 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_
event_ list(string)ins - How many days before the rotation of the item would you like to be notified
- 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_
type string - The rotator type [target/password]
- secure_
access_ stringcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ stringdb_ name - The DB name (relevant only for DB Dynamic-Secret)
- secure_
access_ stringenable - Enable/Disable secure remote access [true/false]
- secure_
access_ list(string)hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure_
access_ boolweb - Enable Web Secure Remote Access
- skip_
dry_ boolrun - Skip dry run
- 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
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- authentication
Credentials String - The credentials to connect with [use-self-creds/use-target-creds]
- auto
Rotate String - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String,String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- name String
- Secret name
- output
Rules List<String> - Password output rule definitions
- password
Length String - The length of the password to be generated
- retry
Rotated
Secret Mysql Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringMysql Id - 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
Event List<String>Ins - How many days before the rotation of the item would you like to be notified
- 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
Type String - The rotator type [target/password]
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access List<String>Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- skip
Dry BooleanRun - Skip dry run
- 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
- ara
Enabled boolean - Enable Agentic Runtime Authority
- authentication
Credentials string - The credentials to connect with [use-self-creds/use-target-creds]
- auto
Rotate string - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete
Protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- boolean
- Enable Agentic Runtime Authority
- enable
Ai booleanQuorum - Enable AI Quorum
- input
Rules string[] - Password input rule definitions
- item
Custom {[key: string]: string}Fields - Additional custom fields to associate with the item
- keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- name string
- Secret name
- output
Rules string[] - Password output rule definitions
- password
Length string - The length of the password to be generated
- retry
Rotated
Secret Mysql Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Password string - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret stringMysql Id - 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
Event string[]Ins - How many days before the rotation of the item would you like to be notified
- 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
Type string - The rotator type [target/password]
- secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access stringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- secure
Access string[]Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure
Access booleanWeb - Enable Web Secure Remote Access
- skip
Dry booleanRun - Skip dry run
- 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
- ara_
enabled bool - Enable Agentic Runtime Authority
- 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
- delete_
protection str - Protection from accidental deletion of this object [true/false]
- description str
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- input_
rules Sequence[str] - Password input rule definitions
- item_
custom_ Mapping[str, str]fields - Additional custom fields to associate with the item
- keep_
prev_ strversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max_
versions str - Set the maximum number of versions, limited by the account settings defaults
- name str
- Secret name
- output_
rules Sequence[str] - Password output rule definitions
- password_
length str - The length of the password to be generated
- retry
Rotated
Secret Mysql Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate_
after_ strdisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated_
password str - rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ strmysql_ id - 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_
event_ Sequence[str]ins - How many days before the rotation of the item would you like to be notified
- 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]
- secure_
access_ strcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ strdb_ name - The DB name (relevant only for DB Dynamic-Secret)
- secure_
access_ strenable - Enable/Disable secure remote access [true/false]
- secure_
access_ Sequence[str]hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure_
access_ boolweb - Enable Web Secure Remote Access
- skip_
dry_ boolrun - Skip dry run
- 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
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- authentication
Credentials String - The credentials to connect with [use-self-creds/use-target-creds]
- auto
Rotate String - Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- 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)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- name String
- Secret name
- output
Rules List<String> - Password output rule definitions
- password
Length String - The length of the password to be generated
- retry Property Map
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Password String - rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringMysql Id - 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
Event List<String>Ins - How many days before the rotation of the item would you like to be notified
- 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
Type String - The rotator type [target/password]
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringDb Name - The DB name (relevant only for DB Dynamic-Secret)
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access List<String>Hosts - Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- skip
Dry BooleanRun - Skip dry run
- 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
Supporting Types
RotatedSecretMysqlRetry, RotatedSecretMysqlRetryArgs
- Error
Message List<string>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- Interval
Seconds double - Wait before the first retry, in seconds. The wait doubles on each retry.
- Max
Interval doubleSeconds - Maximum wait between retries, in seconds.
- Max
Retries double - Maximum number of retries after the first attempt.
- Retry
On List<double>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- Error
Message []stringRegexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- Interval
Seconds float64 - Wait before the first retry, in seconds. The wait doubles on each retry.
- Max
Interval float64Seconds - Maximum wait between retries, in seconds.
- Max
Retries float64 - Maximum number of retries after the first attempt.
- Retry
On []float64Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error_
message_ list(string)regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval_
seconds number - Wait before the first retry, in seconds. The wait doubles on each retry.
- max_
interval_ numberseconds - Maximum wait between retries, in seconds.
- max_
retries number - Maximum number of retries after the first attempt.
- retry_
on_ list(number)status_ codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message List<String>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval
Seconds Double - Wait before the first retry, in seconds. The wait doubles on each retry.
- max
Interval DoubleSeconds - Maximum wait between retries, in seconds.
- max
Retries Double - Maximum number of retries after the first attempt.
- retry
On List<Double>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message string[]Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval
Seconds number - Wait before the first retry, in seconds. The wait doubles on each retry.
- max
Interval numberSeconds - Maximum wait between retries, in seconds.
- max
Retries number - Maximum number of retries after the first attempt.
- retry
On number[]Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error_
message_ Sequence[str]regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval_
seconds float - Wait before the first retry, in seconds. The wait doubles on each retry.
- max_
interval_ floatseconds - Maximum wait between retries, in seconds.
- max_
retries float - Maximum number of retries after the first attempt.
- retry_
on_ Sequence[float]status_ codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message List<String>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval
Seconds Number - Wait before the first retry, in seconds. The wait doubles on each retry.
- max
Interval NumberSeconds - Maximum wait between retries, in seconds.
- max
Retries Number - Maximum number of retries after the first attempt.
- retry
On List<Number>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Thursday, Nov 19, 2026 by akeyless-community