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

akeyless.RotatedSecret

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    Rotated secret resource

    Create RotatedSecret Resource

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

    Constructor syntax

    new RotatedSecret(name: string, args: RotatedSecretArgs, opts?: CustomResourceOptions);
    @overload
    def RotatedSecret(resource_name: str,
                      args: RotatedSecretArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def RotatedSecret(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      rotator_type: Optional[str] = None,
                      target_name: Optional[str] = None,
                      rotated_password: Optional[str] = None,
                      rotation_hour: Optional[float] = None,
                      custom_payload: Optional[str] = None,
                      description: Optional[str] = None,
                      key: Optional[str] = None,
                      name: Optional[str] = None,
                      api_id: Optional[str] = None,
                      rotated_secret_id: Optional[str] = None,
                      rotated_username: Optional[str] = None,
                      auto_rotate: Optional[str] = None,
                      rotation_interval: Optional[str] = None,
                      rotator_custom_cmd: Optional[str] = None,
                      authentication_credentials: Optional[str] = None,
                      tags: Optional[Sequence[str]] = None,
                      api_key: Optional[str] = None,
                      user_attribute: Optional[str] = None,
                      user_dn: Optional[str] = None)
    func NewRotatedSecret(ctx *Context, name string, args RotatedSecretArgs, opts ...ResourceOption) (*RotatedSecret, error)
    public RotatedSecret(string name, RotatedSecretArgs args, CustomResourceOptions? opts = null)
    public RotatedSecret(String name, RotatedSecretArgs args)
    public RotatedSecret(String name, RotatedSecretArgs args, CustomResourceOptions options)
    
    type: akeyless:RotatedSecret
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RotatedSecretArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RotatedSecretArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RotatedSecretArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RotatedSecretArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RotatedSecretArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rotatedSecretResource = new Akeyless.RotatedSecret("rotatedSecretResource", new()
    {
        RotatorType = "string",
        TargetName = "string",
        RotatedPassword = "string",
        RotationHour = 0,
        CustomPayload = "string",
        Description = "string",
        Key = "string",
        Name = "string",
        ApiId = "string",
        RotatedSecretId = "string",
        RotatedUsername = "string",
        AutoRotate = "string",
        RotationInterval = "string",
        RotatorCustomCmd = "string",
        AuthenticationCredentials = "string",
        Tags = new[]
        {
            "string",
        },
        ApiKey = "string",
        UserAttribute = "string",
        UserDn = "string",
    });
    
    example, err := akeyless.NewRotatedSecret(ctx, "rotatedSecretResource", &akeyless.RotatedSecretArgs{
    	RotatorType:               pulumi.String("string"),
    	TargetName:                pulumi.String("string"),
    	RotatedPassword:           pulumi.String("string"),
    	RotationHour:              pulumi.Float64(0),
    	CustomPayload:             pulumi.String("string"),
    	Description:               pulumi.String("string"),
    	Key:                       pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	ApiId:                     pulumi.String("string"),
    	RotatedSecretId:           pulumi.String("string"),
    	RotatedUsername:           pulumi.String("string"),
    	AutoRotate:                pulumi.String("string"),
    	RotationInterval:          pulumi.String("string"),
    	RotatorCustomCmd:          pulumi.String("string"),
    	AuthenticationCredentials: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ApiKey:        pulumi.String("string"),
    	UserAttribute: pulumi.String("string"),
    	UserDn:        pulumi.String("string"),
    })
    
    var rotatedSecretResource = new RotatedSecret("rotatedSecretResource", RotatedSecretArgs.builder()
        .rotatorType("string")
        .targetName("string")
        .rotatedPassword("string")
        .rotationHour(0)
        .customPayload("string")
        .description("string")
        .key("string")
        .name("string")
        .apiId("string")
        .rotatedSecretId("string")
        .rotatedUsername("string")
        .autoRotate("string")
        .rotationInterval("string")
        .rotatorCustomCmd("string")
        .authenticationCredentials("string")
        .tags("string")
        .apiKey("string")
        .userAttribute("string")
        .userDn("string")
        .build());
    
    rotated_secret_resource = akeyless.RotatedSecret("rotatedSecretResource",
        rotator_type="string",
        target_name="string",
        rotated_password="string",
        rotation_hour=0,
        custom_payload="string",
        description="string",
        key="string",
        name="string",
        api_id="string",
        rotated_secret_id="string",
        rotated_username="string",
        auto_rotate="string",
        rotation_interval="string",
        rotator_custom_cmd="string",
        authentication_credentials="string",
        tags=["string"],
        api_key="string",
        user_attribute="string",
        user_dn="string")
    
    const rotatedSecretResource = new akeyless.RotatedSecret("rotatedSecretResource", {
        rotatorType: "string",
        targetName: "string",
        rotatedPassword: "string",
        rotationHour: 0,
        customPayload: "string",
        description: "string",
        key: "string",
        name: "string",
        apiId: "string",
        rotatedSecretId: "string",
        rotatedUsername: "string",
        autoRotate: "string",
        rotationInterval: "string",
        rotatorCustomCmd: "string",
        authenticationCredentials: "string",
        tags: ["string"],
        apiKey: "string",
        userAttribute: "string",
        userDn: "string",
    });
    
    type: akeyless:RotatedSecret
    properties:
        apiId: string
        apiKey: string
        authenticationCredentials: string
        autoRotate: string
        customPayload: string
        description: string
        key: string
        name: string
        rotatedPassword: string
        rotatedSecretId: string
        rotatedUsername: string
        rotationHour: 0
        rotationInterval: string
        rotatorCustomCmd: string
        rotatorType: string
        tags:
            - string
        targetName: string
        userAttribute: string
        userDn: string
    

    RotatedSecret Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RotatedSecret resource accepts the following input properties:

    RotatorType string
    The rotator type password/target/api-key/ldap/custom
    TargetName string
    The target name to associate
    ApiId string
    API ID to rotate (relevant only for rotator-type=api-key)
    ApiKey string
    API key to rotate (relevant only for rotator-type=api-key)
    AuthenticationCredentials string
    The credentials to connect with use-user-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    CustomPayload string
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    Description string
    Description of the object
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Name string
    Secret name
    RotatedPassword string
    rotated-username password (relevant only for rotator-type=password)
    RotatedSecretId string
    The ID of this resource.
    RotatedUsername string
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    RotationHour double
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    RotatorCustomCmd string
    Custom rotation command (relevant only for ssh target)
    Tags List<string>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    UserAttribute string
    LDAP User Attribute
    UserDn string
    Base DN to Perform User Search
    RotatorType string
    The rotator type password/target/api-key/ldap/custom
    TargetName string
    The target name to associate
    ApiId string
    API ID to rotate (relevant only for rotator-type=api-key)
    ApiKey string
    API key to rotate (relevant only for rotator-type=api-key)
    AuthenticationCredentials string
    The credentials to connect with use-user-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    CustomPayload string
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    Description string
    Description of the object
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Name string
    Secret name
    RotatedPassword string
    rotated-username password (relevant only for rotator-type=password)
    RotatedSecretId string
    The ID of this resource.
    RotatedUsername string
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    RotationHour float64
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    RotatorCustomCmd string
    Custom rotation command (relevant only for ssh target)
    Tags []string
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    UserAttribute string
    LDAP User Attribute
    UserDn string
    Base DN to Perform User Search
    rotatorType String
    The rotator type password/target/api-key/ldap/custom
    targetName String
    The target name to associate
    apiId String
    API ID to rotate (relevant only for rotator-type=api-key)
    apiKey String
    API key to rotate (relevant only for rotator-type=api-key)
    authenticationCredentials String
    The credentials to connect with use-user-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    customPayload String
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description String
    Description of the object
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name String
    Secret name
    rotatedPassword String
    rotated-username password (relevant only for rotator-type=password)
    rotatedSecretId String
    The ID of this resource.
    rotatedUsername String
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotationHour Double
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotatorCustomCmd String
    Custom rotation command (relevant only for ssh target)
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    userAttribute String
    LDAP User Attribute
    userDn String
    Base DN to Perform User Search
    rotatorType string
    The rotator type password/target/api-key/ldap/custom
    targetName string
    The target name to associate
    apiId string
    API ID to rotate (relevant only for rotator-type=api-key)
    apiKey string
    API key to rotate (relevant only for rotator-type=api-key)
    authenticationCredentials string
    The credentials to connect with use-user-creds/use-target-creds
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    customPayload string
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description string
    Description of the object
    key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name string
    Secret name
    rotatedPassword string
    rotated-username password (relevant only for rotator-type=password)
    rotatedSecretId string
    The ID of this resource.
    rotatedUsername string
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotationHour number
    The Hour of the rotation in UTC
    rotationInterval string
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotatorCustomCmd string
    Custom rotation command (relevant only for ssh target)
    tags string[]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    userAttribute string
    LDAP User Attribute
    userDn string
    Base DN to Perform User Search
    rotator_type str
    The rotator type password/target/api-key/ldap/custom
    target_name str
    The target name to associate
    api_id str
    API ID to rotate (relevant only for rotator-type=api-key)
    api_key str
    API key to rotate (relevant only for rotator-type=api-key)
    authentication_credentials str
    The credentials to connect with use-user-creds/use-target-creds
    auto_rotate str
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    custom_payload str
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description str
    Description of the object
    key str
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name str
    Secret name
    rotated_password str
    rotated-username password (relevant only for rotator-type=password)
    rotated_secret_id str
    The ID of this resource.
    rotated_username str
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotation_hour float
    The Hour of the rotation in UTC
    rotation_interval str
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotator_custom_cmd str
    Custom rotation command (relevant only for ssh target)
    tags Sequence[str]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    user_attribute str
    LDAP User Attribute
    user_dn str
    Base DN to Perform User Search
    rotatorType String
    The rotator type password/target/api-key/ldap/custom
    targetName String
    The target name to associate
    apiId String
    API ID to rotate (relevant only for rotator-type=api-key)
    apiKey String
    API key to rotate (relevant only for rotator-type=api-key)
    authenticationCredentials String
    The credentials to connect with use-user-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    customPayload String
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description String
    Description of the object
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name String
    Secret name
    rotatedPassword String
    rotated-username password (relevant only for rotator-type=password)
    rotatedSecretId String
    The ID of this resource.
    rotatedUsername String
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotationHour Number
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotatorCustomCmd String
    Custom rotation command (relevant only for ssh target)
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    userAttribute String
    LDAP User Attribute
    userDn String
    Base DN to Perform User Search

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RotatedSecret resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RotatedSecret Resource

    Get an existing RotatedSecret resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RotatedSecretState, opts?: CustomResourceOptions): RotatedSecret
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_id: Optional[str] = None,
            api_key: Optional[str] = None,
            authentication_credentials: Optional[str] = None,
            auto_rotate: Optional[str] = None,
            custom_payload: Optional[str] = None,
            description: Optional[str] = None,
            key: Optional[str] = None,
            name: Optional[str] = None,
            rotated_password: Optional[str] = None,
            rotated_secret_id: Optional[str] = None,
            rotated_username: Optional[str] = None,
            rotation_hour: Optional[float] = None,
            rotation_interval: Optional[str] = None,
            rotator_custom_cmd: Optional[str] = None,
            rotator_type: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None,
            user_attribute: Optional[str] = None,
            user_dn: Optional[str] = None) -> RotatedSecret
    func GetRotatedSecret(ctx *Context, name string, id IDInput, state *RotatedSecretState, opts ...ResourceOption) (*RotatedSecret, error)
    public static RotatedSecret Get(string name, Input<string> id, RotatedSecretState? state, CustomResourceOptions? opts = null)
    public static RotatedSecret get(String name, Output<String> id, RotatedSecretState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:RotatedSecret    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApiId string
    API ID to rotate (relevant only for rotator-type=api-key)
    ApiKey string
    API key to rotate (relevant only for rotator-type=api-key)
    AuthenticationCredentials string
    The credentials to connect with use-user-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    CustomPayload string
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    Description string
    Description of the object
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Name string
    Secret name
    RotatedPassword string
    rotated-username password (relevant only for rotator-type=password)
    RotatedSecretId string
    The ID of this resource.
    RotatedUsername string
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    RotationHour double
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    RotatorCustomCmd string
    Custom rotation command (relevant only for ssh target)
    RotatorType string
    The rotator type password/target/api-key/ldap/custom
    Tags List<string>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TargetName string
    The target name to associate
    UserAttribute string
    LDAP User Attribute
    UserDn string
    Base DN to Perform User Search
    ApiId string
    API ID to rotate (relevant only for rotator-type=api-key)
    ApiKey string
    API key to rotate (relevant only for rotator-type=api-key)
    AuthenticationCredentials string
    The credentials to connect with use-user-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    CustomPayload string
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    Description string
    Description of the object
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Name string
    Secret name
    RotatedPassword string
    rotated-username password (relevant only for rotator-type=password)
    RotatedSecretId string
    The ID of this resource.
    RotatedUsername string
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    RotationHour float64
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    RotatorCustomCmd string
    Custom rotation command (relevant only for ssh target)
    RotatorType string
    The rotator type password/target/api-key/ldap/custom
    Tags []string
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TargetName string
    The target name to associate
    UserAttribute string
    LDAP User Attribute
    UserDn string
    Base DN to Perform User Search
    apiId String
    API ID to rotate (relevant only for rotator-type=api-key)
    apiKey String
    API key to rotate (relevant only for rotator-type=api-key)
    authenticationCredentials String
    The credentials to connect with use-user-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    customPayload String
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description String
    Description of the object
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name String
    Secret name
    rotatedPassword String
    rotated-username password (relevant only for rotator-type=password)
    rotatedSecretId String
    The ID of this resource.
    rotatedUsername String
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotationHour Double
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotatorCustomCmd String
    Custom rotation command (relevant only for ssh target)
    rotatorType String
    The rotator type password/target/api-key/ldap/custom
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName String
    The target name to associate
    userAttribute String
    LDAP User Attribute
    userDn String
    Base DN to Perform User Search
    apiId string
    API ID to rotate (relevant only for rotator-type=api-key)
    apiKey string
    API key to rotate (relevant only for rotator-type=api-key)
    authenticationCredentials string
    The credentials to connect with use-user-creds/use-target-creds
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    customPayload string
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description string
    Description of the object
    key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name string
    Secret name
    rotatedPassword string
    rotated-username password (relevant only for rotator-type=password)
    rotatedSecretId string
    The ID of this resource.
    rotatedUsername string
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotationHour number
    The Hour of the rotation in UTC
    rotationInterval string
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotatorCustomCmd string
    Custom rotation command (relevant only for ssh target)
    rotatorType string
    The rotator type password/target/api-key/ldap/custom
    tags string[]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName string
    The target name to associate
    userAttribute string
    LDAP User Attribute
    userDn string
    Base DN to Perform User Search
    api_id str
    API ID to rotate (relevant only for rotator-type=api-key)
    api_key str
    API key to rotate (relevant only for rotator-type=api-key)
    authentication_credentials str
    The credentials to connect with use-user-creds/use-target-creds
    auto_rotate str
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    custom_payload str
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description str
    Description of the object
    key str
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name str
    Secret name
    rotated_password str
    rotated-username password (relevant only for rotator-type=password)
    rotated_secret_id str
    The ID of this resource.
    rotated_username str
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotation_hour float
    The Hour of the rotation in UTC
    rotation_interval str
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotator_custom_cmd str
    Custom rotation command (relevant only for ssh target)
    rotator_type str
    The rotator type password/target/api-key/ldap/custom
    tags Sequence[str]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    target_name str
    The target name to associate
    user_attribute str
    LDAP User Attribute
    user_dn str
    Base DN to Perform User Search
    apiId String
    API ID to rotate (relevant only for rotator-type=api-key)
    apiKey String
    API key to rotate (relevant only for rotator-type=api-key)
    authenticationCredentials String
    The credentials to connect with use-user-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
    customPayload String
    Secret payload to be sent with rotation request (relevant only for rotator-type=custom)
    description String
    Description of the object
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    name String
    Secret name
    rotatedPassword String
    rotated-username password (relevant only for rotator-type=password)
    rotatedSecretId String
    The ID of this resource.
    rotatedUsername String
    username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
    rotationHour Number
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365),custom rotator interval will be set in minutes
    rotatorCustomCmd String
    Custom rotation command (relevant only for ssh target)
    rotatorType String
    The rotator type password/target/api-key/ldap/custom
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName String
    The target name to associate
    userAttribute String
    LDAP User Attribute
    userDn String
    Base DN to Perform User Search

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community