published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
Azure rotated secret resource
Create RotatedSecretAzure Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RotatedSecretAzure(name: string, args: RotatedSecretAzureArgs, opts?: CustomResourceOptions);@overload
def RotatedSecretAzure(resource_name: str,
args: RotatedSecretAzureArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RotatedSecretAzure(resource_name: str,
opts: Optional[ResourceOptions] = None,
rotator_type: Optional[str] = None,
target_name: Optional[str] = None,
grace_rotation: Optional[str] = None,
rotate_after_disconnect: Optional[str] = None,
auto_rotate: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
explicitly_set_sa: Optional[str] = None,
api_id: Optional[str] = None,
grace_rotation_hour: Optional[float] = None,
grace_rotation_interval: 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,
resource_group_name: Optional[str] = None,
authentication_credentials: Optional[str] = None,
rotated_secret_azure_id: Optional[str] = None,
resource_name_: Optional[str] = None,
rotation_event_ins: Optional[Sequence[str]] = None,
rotation_hour: Optional[float] = None,
rotation_interval: Optional[str] = None,
app_id: Optional[str] = None,
secure_access_disable_concurrent_connections: Optional[bool] = None,
secure_access_enable: Optional[str] = None,
secure_access_url: Optional[str] = None,
secure_access_web: Optional[bool] = None,
secure_access_web_browsing: Optional[bool] = None,
secure_access_web_proxy: Optional[bool] = None,
storage_account_key_name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
api_key: Optional[str] = None,
username: Optional[str] = None)func NewRotatedSecretAzure(ctx *Context, name string, args RotatedSecretAzureArgs, opts ...ResourceOption) (*RotatedSecretAzure, error)public RotatedSecretAzure(string name, RotatedSecretAzureArgs args, CustomResourceOptions? opts = null)
public RotatedSecretAzure(String name, RotatedSecretAzureArgs args)
public RotatedSecretAzure(String name, RotatedSecretAzureArgs args, CustomResourceOptions options)
type: akeyless:RotatedSecretAzure
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RotatedSecretAzureArgs
- 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 RotatedSecretAzureArgs
- 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 RotatedSecretAzureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RotatedSecretAzureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RotatedSecretAzureArgs
- 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 rotatedSecretAzureResource = new Akeyless.RotatedSecretAzure("rotatedSecretAzureResource", new()
{
RotatorType = "string",
TargetName = "string",
GraceRotation = "string",
RotateAfterDisconnect = "string",
AutoRotate = "string",
DeleteProtection = "string",
Description = "string",
ExplicitlySetSa = "string",
ApiId = "string",
GraceRotationHour = 0,
GraceRotationInterval = "string",
ItemCustomFields =
{
{ "string", "string" },
},
KeepPrevVersion = "string",
Key = "string",
MaxVersions = "string",
Name = "string",
PasswordLength = "string",
ResourceGroupName = "string",
AuthenticationCredentials = "string",
RotatedSecretAzureId = "string",
ResourceName = "string",
RotationEventIns = new[]
{
"string",
},
RotationHour = 0,
RotationInterval = "string",
AppId = "string",
SecureAccessDisableConcurrentConnections = false,
SecureAccessEnable = "string",
SecureAccessUrl = "string",
SecureAccessWeb = false,
SecureAccessWebBrowsing = false,
SecureAccessWebProxy = false,
StorageAccountKeyName = "string",
Tags = new[]
{
"string",
},
ApiKey = "string",
Username = "string",
});
example, err := akeyless.NewRotatedSecretAzure(ctx, "rotatedSecretAzureResource", &akeyless.RotatedSecretAzureArgs{
RotatorType: pulumi.String("string"),
TargetName: pulumi.String("string"),
GraceRotation: pulumi.String("string"),
RotateAfterDisconnect: pulumi.String("string"),
AutoRotate: pulumi.String("string"),
DeleteProtection: pulumi.String("string"),
Description: pulumi.String("string"),
ExplicitlySetSa: pulumi.String("string"),
ApiId: pulumi.String("string"),
GraceRotationHour: pulumi.Float64(0),
GraceRotationInterval: 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"),
PasswordLength: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AuthenticationCredentials: pulumi.String("string"),
RotatedSecretAzureId: pulumi.String("string"),
ResourceName: pulumi.String("string"),
RotationEventIns: pulumi.StringArray{
pulumi.String("string"),
},
RotationHour: pulumi.Float64(0),
RotationInterval: pulumi.String("string"),
AppId: pulumi.String("string"),
SecureAccessDisableConcurrentConnections: pulumi.Bool(false),
SecureAccessEnable: pulumi.String("string"),
SecureAccessUrl: pulumi.String("string"),
SecureAccessWeb: pulumi.Bool(false),
SecureAccessWebBrowsing: pulumi.Bool(false),
SecureAccessWebProxy: pulumi.Bool(false),
StorageAccountKeyName: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
ApiKey: pulumi.String("string"),
Username: pulumi.String("string"),
})
var rotatedSecretAzureResource = new RotatedSecretAzure("rotatedSecretAzureResource", RotatedSecretAzureArgs.builder()
.rotatorType("string")
.targetName("string")
.graceRotation("string")
.rotateAfterDisconnect("string")
.autoRotate("string")
.deleteProtection("string")
.description("string")
.explicitlySetSa("string")
.apiId("string")
.graceRotationHour(0.0)
.graceRotationInterval("string")
.itemCustomFields(Map.of("string", "string"))
.keepPrevVersion("string")
.key("string")
.maxVersions("string")
.name("string")
.passwordLength("string")
.resourceGroupName("string")
.authenticationCredentials("string")
.rotatedSecretAzureId("string")
.resourceName("string")
.rotationEventIns("string")
.rotationHour(0.0)
.rotationInterval("string")
.appId("string")
.secureAccessDisableConcurrentConnections(false)
.secureAccessEnable("string")
.secureAccessUrl("string")
.secureAccessWeb(false)
.secureAccessWebBrowsing(false)
.secureAccessWebProxy(false)
.storageAccountKeyName("string")
.tags("string")
.apiKey("string")
.username("string")
.build());
rotated_secret_azure_resource = akeyless.RotatedSecretAzure("rotatedSecretAzureResource",
rotator_type="string",
target_name="string",
grace_rotation="string",
rotate_after_disconnect="string",
auto_rotate="string",
delete_protection="string",
description="string",
explicitly_set_sa="string",
api_id="string",
grace_rotation_hour=float(0),
grace_rotation_interval="string",
item_custom_fields={
"string": "string",
},
keep_prev_version="string",
key="string",
max_versions="string",
name="string",
password_length="string",
resource_group_name="string",
authentication_credentials="string",
rotated_secret_azure_id="string",
resource_name_="string",
rotation_event_ins=["string"],
rotation_hour=float(0),
rotation_interval="string",
app_id="string",
secure_access_disable_concurrent_connections=False,
secure_access_enable="string",
secure_access_url="string",
secure_access_web=False,
secure_access_web_browsing=False,
secure_access_web_proxy=False,
storage_account_key_name="string",
tags=["string"],
api_key="string",
username="string")
const rotatedSecretAzureResource = new akeyless.RotatedSecretAzure("rotatedSecretAzureResource", {
rotatorType: "string",
targetName: "string",
graceRotation: "string",
rotateAfterDisconnect: "string",
autoRotate: "string",
deleteProtection: "string",
description: "string",
explicitlySetSa: "string",
apiId: "string",
graceRotationHour: 0,
graceRotationInterval: "string",
itemCustomFields: {
string: "string",
},
keepPrevVersion: "string",
key: "string",
maxVersions: "string",
name: "string",
passwordLength: "string",
resourceGroupName: "string",
authenticationCredentials: "string",
rotatedSecretAzureId: "string",
resourceName: "string",
rotationEventIns: ["string"],
rotationHour: 0,
rotationInterval: "string",
appId: "string",
secureAccessDisableConcurrentConnections: false,
secureAccessEnable: "string",
secureAccessUrl: "string",
secureAccessWeb: false,
secureAccessWebBrowsing: false,
secureAccessWebProxy: false,
storageAccountKeyName: "string",
tags: ["string"],
apiKey: "string",
username: "string",
});
type: akeyless:RotatedSecretAzure
properties:
apiId: string
apiKey: string
appId: string
authenticationCredentials: string
autoRotate: string
deleteProtection: string
description: string
explicitlySetSa: string
graceRotation: string
graceRotationHour: 0
graceRotationInterval: string
itemCustomFields:
string: string
keepPrevVersion: string
key: string
maxVersions: string
name: string
passwordLength: string
resourceGroupName: string
resourceName: string
rotateAfterDisconnect: string
rotatedSecretAzureId: string
rotationEventIns:
- string
rotationHour: 0
rotationInterval: string
rotatorType: string
secureAccessDisableConcurrentConnections: false
secureAccessEnable: string
secureAccessUrl: string
secureAccessWeb: false
secureAccessWebBrowsing: false
secureAccessWebProxy: false
storageAccountKeyName: string
tags:
- string
targetName: string
username: string
RotatedSecretAzure 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 RotatedSecretAzure resource accepts the following input properties:
- Rotator
Type string - The rotator type. options: [target/password/api-key/azure-storage-account]
- Target
Name string - Target name
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- App
Id string - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- Explicitly
Set stringSa - If set, explicitly provide the storage account details [true/false]
- Grace
Rotation string - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- Grace
Rotation doubleHour - The Hour of the grace rotation in UTC
- Grace
Rotation stringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- Password
Length string - The length of the password to be generated
- Resource
Group stringName - The resource group name (only relevant when explicitly-set-sa=true)
- Resource
Name string - The name of the storage account (only relevant when explicitly-set-sa=true)
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Secret stringAzure Id - The ID of this resource.
- 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)
- Secure
Access boolDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access stringUrl - Destination URL to inject secrets
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Storage
Account stringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Username string
- The user principal name to rotate his password (relevant only for rotator-type=password)
- Rotator
Type string - The rotator type. options: [target/password/api-key/azure-storage-account]
- Target
Name string - Target name
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- App
Id string - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- Explicitly
Set stringSa - If set, explicitly provide the storage account details [true/false]
- Grace
Rotation string - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- Grace
Rotation float64Hour - The Hour of the grace rotation in UTC
- Grace
Rotation stringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- Password
Length string - The length of the password to be generated
- Resource
Group stringName - The resource group name (only relevant when explicitly-set-sa=true)
- Resource
Name string - The name of the storage account (only relevant when explicitly-set-sa=true)
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Secret stringAzure Id - The ID of this resource.
- 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)
- Secure
Access boolDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access stringUrl - Destination URL to inject secrets
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Storage
Account stringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Username string
- The user principal name to rotate his password (relevant only for rotator-type=password)
- rotator
Type String - The rotator type. options: [target/password/api-key/azure-storage-account]
- target
Name String - Target name
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- app
Id String - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly
Set StringSa - If set, explicitly provide the storage account details [true/false]
- grace
Rotation String - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace
Rotation DoubleHour - The Hour of the grace rotation in UTC
- grace
Rotation StringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password
Length String - The length of the password to be generated
- resource
Group StringName - The resource group name (only relevant when explicitly-set-sa=true)
- resource
Name String - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Secret StringAzure Id - The ID of this resource.
- 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)
- secure
Access BooleanDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access StringUrl - Destination URL to inject secrets
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage
Account StringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- username String
- The user principal name to rotate his password (relevant only for rotator-type=password)
- rotator
Type string - The rotator type. options: [target/password/api-key/azure-storage-account]
- target
Name string - Target name
- api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- app
Id string - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly
Set stringSa - If set, explicitly provide the storage account details [true/false]
- grace
Rotation string - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace
Rotation numberHour - The Hour of the grace rotation in UTC
- grace
Rotation stringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password
Length string - The length of the password to be generated
- resource
Group stringName - The resource group name (only relevant when explicitly-set-sa=true)
- resource
Name string - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Secret stringAzure Id - The ID of this resource.
- 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)
- secure
Access booleanDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- secure
Access stringUrl - Destination URL to inject secrets
- secure
Access booleanWeb - Enable Web Secure Remote Access
- secure
Access booleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access booleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage
Account stringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- username string
- The user principal name to rotate his password (relevant only for rotator-type=password)
- rotator_
type str - The rotator type. options: [target/password/api-key/azure-storage-account]
- target_
name str - Target name
- api_
id str - API ID to rotate (relevant only for rotator-type=api-key)
- api_
key str - API key to rotate (relevant only for rotator-type=api-key)
- app_
id str - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly_
set_ strsa - If set, explicitly provide the storage account details [true/false]
- grace_
rotation str - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace_
rotation_ floathour - The Hour of the grace rotation in UTC
- grace_
rotation_ strinterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password_
length str - The length of the password to be generated
- resource_
group_ strname - The resource group name (only relevant when explicitly-set-sa=true)
- resource_
name str - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate_
after_ strdisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated_
secret_ strazure_ id - The ID of this resource.
- 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)
- secure_
access_ booldisable_ concurrent_ connections - Enable this flag to prevent simultaneous use of the same secret
- secure_
access_ strenable - Enable/Disable secure remote access [true/false]
- secure_
access_ strurl - Destination URL to inject secrets
- secure_
access_ boolweb - Enable Web Secure Remote Access
- secure_
access_ boolweb_ browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure_
access_ boolweb_ proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage_
account_ strkey_ name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- username str
- The user principal name to rotate his password (relevant only for rotator-type=password)
- rotator
Type String - The rotator type. options: [target/password/api-key/azure-storage-account]
- target
Name String - Target name
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- app
Id String - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly
Set StringSa - If set, explicitly provide the storage account details [true/false]
- grace
Rotation String - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace
Rotation NumberHour - The Hour of the grace rotation in UTC
- grace
Rotation StringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password
Length String - The length of the password to be generated
- resource
Group StringName - The resource group name (only relevant when explicitly-set-sa=true)
- resource
Name String - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Secret StringAzure Id - The ID of this resource.
- 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)
- secure
Access BooleanDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access StringUrl - Destination URL to inject secrets
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage
Account StringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- username String
- The user principal name to rotate his password (relevant only for rotator-type=password)
Outputs
All input properties are implicitly available as output properties. Additionally, the RotatedSecretAzure resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RotatedSecretAzure Resource
Get an existing RotatedSecretAzure 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?: RotatedSecretAzureState, opts?: CustomResourceOptions): RotatedSecretAzure@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[str] = None,
api_key: Optional[str] = None,
app_id: Optional[str] = None,
authentication_credentials: Optional[str] = None,
auto_rotate: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
explicitly_set_sa: Optional[str] = None,
grace_rotation: Optional[str] = None,
grace_rotation_hour: Optional[float] = None,
grace_rotation_interval: 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,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
rotate_after_disconnect: Optional[str] = None,
rotated_secret_azure_id: 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_disable_concurrent_connections: Optional[bool] = None,
secure_access_enable: Optional[str] = None,
secure_access_url: Optional[str] = None,
secure_access_web: Optional[bool] = None,
secure_access_web_browsing: Optional[bool] = None,
secure_access_web_proxy: Optional[bool] = None,
storage_account_key_name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
target_name: Optional[str] = None,
username: Optional[str] = None) -> RotatedSecretAzurefunc GetRotatedSecretAzure(ctx *Context, name string, id IDInput, state *RotatedSecretAzureState, opts ...ResourceOption) (*RotatedSecretAzure, error)public static RotatedSecretAzure Get(string name, Input<string> id, RotatedSecretAzureState? state, CustomResourceOptions? opts = null)public static RotatedSecretAzure get(String name, Output<String> id, RotatedSecretAzureState state, CustomResourceOptions options)resources: _: type: akeyless:RotatedSecretAzure get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- App
Id string - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- Explicitly
Set stringSa - If set, explicitly provide the storage account details [true/false]
- Grace
Rotation string - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- Grace
Rotation doubleHour - The Hour of the grace rotation in UTC
- Grace
Rotation stringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- Password
Length string - The length of the password to be generated
- Resource
Group stringName - The resource group name (only relevant when explicitly-set-sa=true)
- Resource
Name string - The name of the storage account (only relevant when explicitly-set-sa=true)
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Secret stringAzure Id - The ID of this resource.
- 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/api-key/azure-storage-account]
- Secure
Access boolDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access stringUrl - Destination URL to inject secrets
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Storage
Account stringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- 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 - Target name
- Username string
- The user principal name to rotate his password (relevant only for rotator-type=password)
- Api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- Api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- App
Id string - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- Explicitly
Set stringSa - If set, explicitly provide the storage account details [true/false]
- Grace
Rotation string - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- Grace
Rotation float64Hour - The Hour of the grace rotation in UTC
- Grace
Rotation stringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- Password
Length string - The length of the password to be generated
- Resource
Group stringName - The resource group name (only relevant when explicitly-set-sa=true)
- Resource
Name string - The name of the storage account (only relevant when explicitly-set-sa=true)
- Rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- Rotated
Secret stringAzure Id - The ID of this resource.
- 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/api-key/azure-storage-account]
- Secure
Access boolDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- Secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- Secure
Access stringUrl - Destination URL to inject secrets
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Storage
Account stringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Target name
- Username string
- The user principal name to rotate his password (relevant only for rotator-type=password)
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- app
Id String - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly
Set StringSa - If set, explicitly provide the storage account details [true/false]
- grace
Rotation String - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace
Rotation DoubleHour - The Hour of the grace rotation in UTC
- grace
Rotation StringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password
Length String - The length of the password to be generated
- resource
Group StringName - The resource group name (only relevant when explicitly-set-sa=true)
- resource
Name String - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Secret StringAzure Id - The ID of this resource.
- 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/api-key/azure-storage-account]
- secure
Access BooleanDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access StringUrl - Destination URL to inject secrets
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage
Account StringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- 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 - Target name
- username String
- The user principal name to rotate his password (relevant only for rotator-type=password)
- api
Id string - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key string - API key to rotate (relevant only for rotator-type=api-key)
- app
Id string - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly
Set stringSa - If set, explicitly provide the storage account details [true/false]
- grace
Rotation string - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace
Rotation numberHour - The Hour of the grace rotation in UTC
- grace
Rotation stringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password
Length string - The length of the password to be generated
- resource
Group stringName - The resource group name (only relevant when explicitly-set-sa=true)
- resource
Name string - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate
After stringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Secret stringAzure Id - The ID of this resource.
- 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/api-key/azure-storage-account]
- secure
Access booleanDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- secure
Access stringEnable - Enable/Disable secure remote access [true/false]
- secure
Access stringUrl - Destination URL to inject secrets
- secure
Access booleanWeb - Enable Web Secure Remote Access
- secure
Access booleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access booleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage
Account stringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Target name
- username string
- The user principal name to rotate his password (relevant only for rotator-type=password)
- api_
id str - API ID to rotate (relevant only for rotator-type=api-key)
- api_
key str - API key to rotate (relevant only for rotator-type=api-key)
- app_
id str - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly_
set_ strsa - If set, explicitly provide the storage account details [true/false]
- grace_
rotation str - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace_
rotation_ floathour - The Hour of the grace rotation in UTC
- grace_
rotation_ strinterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password_
length str - The length of the password to be generated
- resource_
group_ strname - The resource group name (only relevant when explicitly-set-sa=true)
- resource_
name str - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate_
after_ strdisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated_
secret_ strazure_ id - The ID of this resource.
- 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/api-key/azure-storage-account]
- secure_
access_ booldisable_ concurrent_ connections - Enable this flag to prevent simultaneous use of the same secret
- secure_
access_ strenable - Enable/Disable secure remote access [true/false]
- secure_
access_ strurl - Destination URL to inject secrets
- secure_
access_ boolweb - Enable Web Secure Remote Access
- secure_
access_ boolweb_ browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure_
access_ boolweb_ proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage_
account_ strkey_ name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- 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 - Target name
- username str
- The user principal name to rotate his password (relevant only for rotator-type=password)
- api
Id String - API ID to rotate (relevant only for rotator-type=api-key)
- api
Key String - API key to rotate (relevant only for rotator-type=api-key)
- app
Id String - Id of the azure app that hold the serect to be rotated (relevant only for rotator-type=api-key & authentication-credentials=use-target-creds)
- 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
- explicitly
Set StringSa - If set, explicitly provide the storage account details [true/false]
- grace
Rotation String - Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
- grace
Rotation NumberHour - The Hour of the grace rotation in UTC
- grace
Rotation StringInterval - The number of days to wait before deleting the old key (must be bigger than rotation-interval)
- 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
- Rotated secret name
- password
Length String - The length of the password to be generated
- resource
Group StringName - The resource group name (only relevant when explicitly-set-sa=true)
- resource
Name String - The name of the storage account (only relevant when explicitly-set-sa=true)
- rotate
After StringDisconnect - Rotate the value of the secret after SRA session ends [true/false]
- rotated
Secret StringAzure Id - The ID of this resource.
- 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/api-key/azure-storage-account]
- secure
Access BooleanDisable Concurrent Connections - Enable this flag to prevent simultaneous use of the same secret
- secure
Access StringEnable - Enable/Disable secure remote access [true/false]
- secure
Access StringUrl - Destination URL to inject secrets
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- storage
Account StringKey Name - The name of the storage account key to rotate key1/key2/kerb1/kerb2
- 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 - Target name
- username String
- The user principal name to rotate his password (relevant only for rotator-type=password)
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
