published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
Splunk rotated secret resource
Create RotatedSecretSplunk Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RotatedSecretSplunk(name: string, args: RotatedSecretSplunkArgs, opts?: CustomResourceOptions);@overload
def RotatedSecretSplunk(resource_name: str,
args: RotatedSecretSplunkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RotatedSecretSplunk(resource_name: str,
opts: Optional[ResourceOptions] = None,
rotator_type: Optional[str] = None,
target_name: Optional[str] = None,
name: Optional[str] = None,
key: Optional[str] = None,
description: Optional[str] = None,
expiration_date: Optional[str] = None,
hec_token: Optional[str] = None,
hec_token_name: Optional[str] = None,
item_custom_fields: Optional[Mapping[str, str]] = None,
rotated_password: Optional[str] = None,
password_length: Optional[str] = None,
max_versions: Optional[str] = None,
delete_protection: Optional[str] = None,
audience: Optional[str] = None,
keep_prev_version: Optional[str] = None,
rotated_secret_splunk_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,
auto_rotate: Optional[str] = None,
splunk_token: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
authentication_credentials: Optional[str] = None,
token_owner: Optional[str] = None)func NewRotatedSecretSplunk(ctx *Context, name string, args RotatedSecretSplunkArgs, opts ...ResourceOption) (*RotatedSecretSplunk, error)public RotatedSecretSplunk(string name, RotatedSecretSplunkArgs args, CustomResourceOptions? opts = null)
public RotatedSecretSplunk(String name, RotatedSecretSplunkArgs args)
public RotatedSecretSplunk(String name, RotatedSecretSplunkArgs args, CustomResourceOptions options)
type: akeyless:RotatedSecretSplunk
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "akeyless_rotatedsecretsplunk" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RotatedSecretSplunkArgs
- 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 RotatedSecretSplunkArgs
- 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 RotatedSecretSplunkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RotatedSecretSplunkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RotatedSecretSplunkArgs
- 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 rotatedSecretSplunkResource = new Akeyless.RotatedSecretSplunk("rotatedSecretSplunkResource", new()
{
RotatorType = "string",
TargetName = "string",
Name = "string",
Key = "string",
Description = "string",
ExpirationDate = "string",
HecToken = "string",
HecTokenName = "string",
ItemCustomFields =
{
{ "string", "string" },
},
RotatedPassword = "string",
PasswordLength = "string",
MaxVersions = "string",
DeleteProtection = "string",
Audience = "string",
KeepPrevVersion = "string",
RotatedSecretSplunkId = "string",
RotatedUsername = "string",
RotationEventIns = new[]
{
"string",
},
RotationHour = 0,
RotationInterval = "string",
AutoRotate = "string",
SplunkToken = "string",
Tags = new[]
{
"string",
},
AuthenticationCredentials = "string",
TokenOwner = "string",
});
example, err := akeyless.NewRotatedSecretSplunk(ctx, "rotatedSecretSplunkResource", &akeyless.RotatedSecretSplunkArgs{
RotatorType: pulumi.String("string"),
TargetName: pulumi.String("string"),
Name: pulumi.String("string"),
Key: pulumi.String("string"),
Description: pulumi.String("string"),
ExpirationDate: pulumi.String("string"),
HecToken: pulumi.String("string"),
HecTokenName: pulumi.String("string"),
ItemCustomFields: pulumi.StringMap{
"string": pulumi.String("string"),
},
RotatedPassword: pulumi.String("string"),
PasswordLength: pulumi.String("string"),
MaxVersions: pulumi.String("string"),
DeleteProtection: pulumi.String("string"),
Audience: pulumi.String("string"),
KeepPrevVersion: pulumi.String("string"),
RotatedSecretSplunkId: pulumi.String("string"),
RotatedUsername: pulumi.String("string"),
RotationEventIns: pulumi.StringArray{
pulumi.String("string"),
},
RotationHour: pulumi.Float64(0),
RotationInterval: pulumi.String("string"),
AutoRotate: pulumi.String("string"),
SplunkToken: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
AuthenticationCredentials: pulumi.String("string"),
TokenOwner: pulumi.String("string"),
})
resource "akeyless_rotatedsecretsplunk" "rotatedSecretSplunkResource" {
rotator_type = "string"
target_name = "string"
name = "string"
key = "string"
description = "string"
expiration_date = "string"
hec_token = "string"
hec_token_name = "string"
item_custom_fields = {
"string" = "string"
}
rotated_password = "string"
password_length = "string"
max_versions = "string"
delete_protection = "string"
audience = "string"
keep_prev_version = "string"
rotated_secret_splunk_id = "string"
rotated_username = "string"
rotation_event_ins = ["string"]
rotation_hour = 0
rotation_interval = "string"
auto_rotate = "string"
splunk_token = "string"
tags = ["string"]
authentication_credentials = "string"
token_owner = "string"
}
var rotatedSecretSplunkResource = new RotatedSecretSplunk("rotatedSecretSplunkResource", RotatedSecretSplunkArgs.builder()
.rotatorType("string")
.targetName("string")
.name("string")
.key("string")
.description("string")
.expirationDate("string")
.hecToken("string")
.hecTokenName("string")
.itemCustomFields(Map.of("string", "string"))
.rotatedPassword("string")
.passwordLength("string")
.maxVersions("string")
.deleteProtection("string")
.audience("string")
.keepPrevVersion("string")
.rotatedSecretSplunkId("string")
.rotatedUsername("string")
.rotationEventIns("string")
.rotationHour(0.0)
.rotationInterval("string")
.autoRotate("string")
.splunkToken("string")
.tags("string")
.authenticationCredentials("string")
.tokenOwner("string")
.build());
rotated_secret_splunk_resource = akeyless.RotatedSecretSplunk("rotatedSecretSplunkResource",
rotator_type="string",
target_name="string",
name="string",
key="string",
description="string",
expiration_date="string",
hec_token="string",
hec_token_name="string",
item_custom_fields={
"string": "string",
},
rotated_password="string",
password_length="string",
max_versions="string",
delete_protection="string",
audience="string",
keep_prev_version="string",
rotated_secret_splunk_id="string",
rotated_username="string",
rotation_event_ins=["string"],
rotation_hour=float(0),
rotation_interval="string",
auto_rotate="string",
splunk_token="string",
tags=["string"],
authentication_credentials="string",
token_owner="string")
const rotatedSecretSplunkResource = new akeyless.RotatedSecretSplunk("rotatedSecretSplunkResource", {
rotatorType: "string",
targetName: "string",
name: "string",
key: "string",
description: "string",
expirationDate: "string",
hecToken: "string",
hecTokenName: "string",
itemCustomFields: {
string: "string",
},
rotatedPassword: "string",
passwordLength: "string",
maxVersions: "string",
deleteProtection: "string",
audience: "string",
keepPrevVersion: "string",
rotatedSecretSplunkId: "string",
rotatedUsername: "string",
rotationEventIns: ["string"],
rotationHour: 0,
rotationInterval: "string",
autoRotate: "string",
splunkToken: "string",
tags: ["string"],
authenticationCredentials: "string",
tokenOwner: "string",
});
type: akeyless:RotatedSecretSplunk
properties:
audience: string
authenticationCredentials: string
autoRotate: string
deleteProtection: string
description: string
expirationDate: string
hecToken: string
hecTokenName: string
itemCustomFields:
string: string
keepPrevVersion: string
key: string
maxVersions: string
name: string
passwordLength: string
rotatedPassword: string
rotatedSecretSplunkId: string
rotatedUsername: string
rotationEventIns:
- string
rotationHour: 0
rotationInterval: string
rotatorType: string
splunkToken: string
tags:
- string
targetName: string
tokenOwner: string
RotatedSecretSplunk 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 RotatedSecretSplunk resource accepts the following input properties:
- Rotator
Type string - The rotator type. options: [target/password/token/hec-token]
- Target
Name string - The target name to associate
- Audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- Expiration
Date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- Hec
Token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- Hec
Token stringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- Password
Length string - The length of the password to be generated
- Rotated
Password string - Rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringSplunk Id - The ID of this resource.
- Rotated
Username string - Username to be rotated (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 key rotation (1-365)
- Splunk
Token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Token
Owner string - Splunk token owner username (relevant only for rotator-type=token)
- Rotator
Type string - The rotator type. options: [target/password/token/hec-token]
- Target
Name string - The target name to associate
- Audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- Expiration
Date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- Hec
Token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- Hec
Token stringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- Password
Length string - The length of the password to be generated
- Rotated
Password string - Rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringSplunk Id - The ID of this resource.
- Rotated
Username string - Username to be rotated (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 key rotation (1-365)
- Splunk
Token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Token
Owner string - Splunk token owner username (relevant only for rotator-type=token)
- rotator_
type string - The rotator type. options: [target/password/token/hec-token]
- target_
name string - The target name to associate
- audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete_
protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- expiration_
date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec_
token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec_
token_ stringname - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password_
length string - The length of the password to be generated
- rotated_
password string - Rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ stringsplunk_ id - The ID of this resource.
- rotated_
username string - Username to be rotated (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 key rotation (1-365)
- splunk_
token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- list(string)
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- token_
owner string - Splunk token owner username (relevant only for rotator-type=token)
- rotator
Type String - The rotator type. options: [target/password/token/hec-token]
- target
Name String - The target name to associate
- audience String
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- expiration
Date String - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec
Token String - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec
Token StringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password
Length String - The length of the password to be generated
- rotated
Password String - Rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringSplunk Id - The ID of this resource.
- rotated
Username String - Username to be rotated (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 key rotation (1-365)
- splunk
Token String - Current Splunk authentication token to store (relevant only for rotator-type=token)
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- token
Owner String - Splunk token owner username (relevant only for rotator-type=token)
- rotator
Type string - The rotator type. options: [target/password/token/hec-token]
- target
Name string - The target name to associate
- audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete
Protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- expiration
Date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec
Token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec
Token stringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password
Length string - The length of the password to be generated
- rotated
Password string - Rotated-username password (relevant only for rotator-type=password)
- rotated
Secret stringSplunk Id - The ID of this resource.
- rotated
Username string - Username to be rotated (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 key rotation (1-365)
- splunk
Token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- token
Owner string - Splunk token owner username (relevant only for rotator-type=token)
- rotator_
type str - The rotator type. options: [target/password/token/hec-token]
- target_
name str - The target name to associate
- audience str
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete_
protection str - Protection from accidental deletion of this object [true/false]
- description str
- Description of the object
- expiration_
date str - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec_
token str - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec_
token_ strname - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password_
length str - The length of the password to be generated
- rotated_
password str - Rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ strsplunk_ id - The ID of this resource.
- rotated_
username str - Username to be rotated (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 key rotation (1-365)
- splunk_
token str - Current Splunk authentication token to store (relevant only for rotator-type=token)
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- token_
owner str - Splunk token owner username (relevant only for rotator-type=token)
- rotator
Type String - The rotator type. options: [target/password/token/hec-token]
- target
Name String - The target name to associate
- audience String
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- expiration
Date String - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec
Token String - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec
Token StringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password
Length String - The length of the password to be generated
- rotated
Password String - Rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringSplunk Id - The ID of this resource.
- rotated
Username String - Username to be rotated (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 key rotation (1-365)
- splunk
Token String - Current Splunk authentication token to store (relevant only for rotator-type=token)
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- token
Owner String - Splunk token owner username (relevant only for rotator-type=token)
Outputs
All input properties are implicitly available as output properties. Additionally, the RotatedSecretSplunk 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 RotatedSecretSplunk Resource
Get an existing RotatedSecretSplunk 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?: RotatedSecretSplunkState, opts?: CustomResourceOptions): RotatedSecretSplunk@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audience: Optional[str] = None,
authentication_credentials: Optional[str] = None,
auto_rotate: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
expiration_date: Optional[str] = None,
hec_token: Optional[str] = None,
hec_token_name: Optional[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,
password_length: Optional[str] = None,
rotated_password: Optional[str] = None,
rotated_secret_splunk_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,
splunk_token: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None,
token_owner: Optional[str] = None) -> RotatedSecretSplunkfunc GetRotatedSecretSplunk(ctx *Context, name string, id IDInput, state *RotatedSecretSplunkState, opts ...ResourceOption) (*RotatedSecretSplunk, error)public static RotatedSecretSplunk Get(string name, Input<string> id, RotatedSecretSplunkState? state, CustomResourceOptions? opts = null)public static RotatedSecretSplunk get(String name, Output<String> id, RotatedSecretSplunkState state, CustomResourceOptions options)resources: _: type: akeyless:RotatedSecretSplunk get: id: ${id}import {
to = akeyless_rotatedsecretsplunk.example
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.
- Audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- Expiration
Date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- Hec
Token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- Hec
Token stringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- Password
Length string - The length of the password to be generated
- Rotated
Password string - Rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringSplunk Id - The ID of this resource.
- Rotated
Username string - Username to be rotated (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 key rotation (1-365)
- Rotator
Type string - The rotator type. options: [target/password/token/hec-token]
- Splunk
Token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- 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
- Token
Owner string - Splunk token owner username (relevant only for rotator-type=token)
- Audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- Delete
Protection string - Protection from accidental deletion of this object [true/false]
- Description string
- Description of the object
- Expiration
Date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- Hec
Token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- Hec
Token stringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- Password
Length string - The length of the password to be generated
- Rotated
Password string - Rotated-username password (relevant only for rotator-type=password)
- Rotated
Secret stringSplunk Id - The ID of this resource.
- Rotated
Username string - Username to be rotated (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 key rotation (1-365)
- Rotator
Type string - The rotator type. options: [target/password/token/hec-token]
- Splunk
Token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- []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
- Token
Owner string - Splunk token owner username (relevant only for rotator-type=token)
- audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete_
protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- expiration_
date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec_
token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec_
token_ stringname - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password_
length string - The length of the password to be generated
- rotated_
password string - Rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ stringsplunk_ id - The ID of this resource.
- rotated_
username string - Username to be rotated (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 key rotation (1-365)
- rotator_
type string - The rotator type. options: [target/password/token/hec-token]
- splunk_
token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- 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
- token_
owner string - Splunk token owner username (relevant only for rotator-type=token)
- audience String
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- expiration
Date String - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec
Token String - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec
Token StringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password
Length String - The length of the password to be generated
- rotated
Password String - Rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringSplunk Id - The ID of this resource.
- rotated
Username String - Username to be rotated (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 key rotation (1-365)
- rotator
Type String - The rotator type. options: [target/password/token/hec-token]
- splunk
Token String - Current Splunk authentication token to store (relevant only for rotator-type=token)
- 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
- token
Owner String - Splunk token owner username (relevant only for rotator-type=token)
- audience string
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete
Protection string - Protection from accidental deletion of this object [true/false]
- description string
- Description of the object
- expiration
Date string - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec
Token string - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec
Token stringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password
Length string - The length of the password to be generated
- rotated
Password string - Rotated-username password (relevant only for rotator-type=password)
- rotated
Secret stringSplunk Id - The ID of this resource.
- rotated
Username string - Username to be rotated (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 key rotation (1-365)
- rotator
Type string - The rotator type. options: [target/password/token/hec-token]
- splunk
Token string - Current Splunk authentication token to store (relevant only for rotator-type=token)
- 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
- token
Owner string - Splunk token owner username (relevant only for rotator-type=token)
- audience str
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete_
protection str - Protection from accidental deletion of this object [true/false]
- description str
- Description of the object
- expiration_
date str - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec_
token str - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec_
token_ strname - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password_
length str - The length of the password to be generated
- rotated_
password str - Rotated-username password (relevant only for rotator-type=password)
- rotated_
secret_ strsplunk_ id - The ID of this resource.
- rotated_
username str - Username to be rotated (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 key rotation (1-365)
- rotator_
type str - The rotator type. options: [target/password/token/hec-token]
- splunk_
token str - Current Splunk authentication token to store (relevant only for rotator-type=token)
- 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
- token_
owner str - Splunk token owner username (relevant only for rotator-type=token)
- audience String
- Token audience for Splunk token creation (required for rotator-type=token)
- 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 [true/false]
- delete
Protection String - Protection from accidental deletion of this object [true/false]
- description String
- Description of the object
- expiration
Date String - Token expiration date in YYYY-MM-DD format (relevant only for rotator-type=token when manual rotation is selected)
- hec
Token String - Current Splunk HEC token value to store (relevant only for rotator-type=hec-token)
- hec
Token StringName - Splunk HEC input name to manage (required for rotator-type=hec-token)
- 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
- password
Length String - The length of the password to be generated
- rotated
Password String - Rotated-username password (relevant only for rotator-type=password)
- rotated
Secret StringSplunk Id - The ID of this resource.
- rotated
Username String - Username to be rotated (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 key rotation (1-365)
- rotator
Type String - The rotator type. options: [target/password/token/hec-token]
- splunk
Token String - Current Splunk authentication token to store (relevant only for rotator-type=token)
- 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
- token
Owner String - Splunk token owner username (relevant only for rotator-type=token)
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Monday, Apr 27, 2026 by akeyless-community
