1. Registry
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. RotatedSecretDockerhub
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 2026 by akeyless-community
akeyless
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 2026 by akeyless-community

    Dockerhub rotated secret resource

    Create RotatedSecretDockerhub Resource

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

    Constructor syntax

    new RotatedSecretDockerhub(name: string, args: RotatedSecretDockerhubArgs, opts?: CustomResourceOptions);
    @overload
    def RotatedSecretDockerhub(resource_name: str,
                               args: RotatedSecretDockerhubArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def RotatedSecretDockerhub(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               target_name: Optional[str] = None,
                               key: Optional[str] = None,
                               name: Optional[str] = None,
                               delete_protection: Optional[str] = None,
                               description: Optional[str] = None,
                               enable_agentic_runtime_authority: Optional[bool] = None,
                               enable_ai_quorum: Optional[bool] = None,
                               input_rules: Optional[Sequence[str]] = None,
                               item_custom_fields: Optional[Mapping[str, str]] = None,
                               keep_prev_version: Optional[str] = None,
                               output_rules: Optional[Sequence[str]] = None,
                               auto_rotate: Optional[str] = None,
                               max_versions: Optional[str] = None,
                               ara_enabled: Optional[bool] = None,
                               password_length: Optional[str] = None,
                               retry: Optional[RotatedSecretDockerhubRetryArgs] = None,
                               rotated_secret_dockerhub_id: Optional[str] = None,
                               rotation_event_ins: Optional[Sequence[str]] = None,
                               rotation_hour: Optional[float] = None,
                               rotation_interval: Optional[str] = None,
                               skip_dry_run: Optional[bool] = None,
                               tags: Optional[Sequence[str]] = None,
                               authentication_credentials: Optional[str] = None)
    func NewRotatedSecretDockerhub(ctx *Context, name string, args RotatedSecretDockerhubArgs, opts ...ResourceOption) (*RotatedSecretDockerhub, error)
    public RotatedSecretDockerhub(string name, RotatedSecretDockerhubArgs args, CustomResourceOptions? opts = null)
    public RotatedSecretDockerhub(String name, RotatedSecretDockerhubArgs args)
    public RotatedSecretDockerhub(String name, RotatedSecretDockerhubArgs args, CustomResourceOptions options)
    
    type: akeyless:RotatedSecretDockerhub
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "akeyless_rotated_secret_dockerhub" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RotatedSecretDockerhubArgs
    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 RotatedSecretDockerhubArgs
    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 RotatedSecretDockerhubArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RotatedSecretDockerhubArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RotatedSecretDockerhubArgs
    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 rotatedSecretDockerhubResource = new Akeyless.RotatedSecretDockerhub("rotatedSecretDockerhubResource", new()
    {
        TargetName = "string",
        Key = "string",
        Name = "string",
        DeleteProtection = "string",
        Description = "string",
        EnableAgenticRuntimeAuthority = false,
        EnableAiQuorum = false,
        InputRules = new[]
        {
            "string",
        },
        ItemCustomFields = 
        {
            { "string", "string" },
        },
        KeepPrevVersion = "string",
        OutputRules = new[]
        {
            "string",
        },
        AutoRotate = "string",
        MaxVersions = "string",
        AraEnabled = false,
        PasswordLength = "string",
        Retry = new Akeyless.Inputs.RotatedSecretDockerhubRetryArgs
        {
            ErrorMessageRegexes = new[]
            {
                "string",
            },
            IntervalSeconds = 0.0,
            MaxIntervalSeconds = 0.0,
            MaxRetries = 0.0,
            RetryOnStatusCodes = new[]
            {
                0.0,
            },
        },
        RotatedSecretDockerhubId = "string",
        RotationEventIns = new[]
        {
            "string",
        },
        RotationHour = 0.0,
        RotationInterval = "string",
        SkipDryRun = false,
        Tags = new[]
        {
            "string",
        },
        AuthenticationCredentials = "string",
    });
    
    example, err := akeyless.NewRotatedSecretDockerhub(ctx, "rotatedSecretDockerhubResource", &akeyless.RotatedSecretDockerhubArgs{
    	TargetName:                    pulumi.String("string"),
    	Key:                           pulumi.String("string"),
    	Name:                          pulumi.String("string"),
    	DeleteProtection:              pulumi.String("string"),
    	Description:                   pulumi.String("string"),
    	EnableAgenticRuntimeAuthority: pulumi.Bool(false),
    	EnableAiQuorum:                pulumi.Bool(false),
    	InputRules: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ItemCustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	KeepPrevVersion: pulumi.String("string"),
    	OutputRules: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AutoRotate:     pulumi.String("string"),
    	MaxVersions:    pulumi.String("string"),
    	AraEnabled:     pulumi.Bool(false),
    	PasswordLength: pulumi.String("string"),
    	Retry: &akeyless.RotatedSecretDockerhubRetryArgs{
    		ErrorMessageRegexes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IntervalSeconds:    pulumi.Float64(0),
    		MaxIntervalSeconds: pulumi.Float64(0),
    		MaxRetries:         pulumi.Float64(0),
    		RetryOnStatusCodes: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    	},
    	RotatedSecretDockerhubId: pulumi.String("string"),
    	RotationEventIns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RotationHour:     pulumi.Float64(0),
    	RotationInterval: pulumi.String("string"),
    	SkipDryRun:       pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AuthenticationCredentials: pulumi.String("string"),
    })
    
    resource "akeyless_rotated_secret_dockerhub" "rotatedSecretDockerhubResource" {
      lifecycle {
        create_before_destroy = true
      }
      target_name                      = "string"
      key                              = "string"
      name                             = "string"
      delete_protection                = "string"
      description                      = "string"
      enable_agentic_runtime_authority = false
      enable_ai_quorum                 = false
      input_rules                      = ["string"]
      item_custom_fields = {
        "string" = "string"
      }
      keep_prev_version = "string"
      output_rules      = ["string"]
      auto_rotate       = "string"
      max_versions      = "string"
      ara_enabled       = false
      password_length   = "string"
      retry = {
        error_message_regexes = ["string"]
        interval_seconds      = 0
        max_interval_seconds  = 0
        max_retries           = 0
        retry_on_status_codes = [0]
      }
      rotated_secret_dockerhub_id = "string"
      rotation_event_ins          = ["string"]
      rotation_hour               = 0
      rotation_interval           = "string"
      skip_dry_run                = false
      tags                        = ["string"]
      authentication_credentials  = "string"
    }
    
    var rotatedSecretDockerhubResource = new RotatedSecretDockerhub("rotatedSecretDockerhubResource", RotatedSecretDockerhubArgs.builder()
        .targetName("string")
        .key("string")
        .name("string")
        .deleteProtection("string")
        .description("string")
        .enableAgenticRuntimeAuthority(false)
        .enableAiQuorum(false)
        .inputRules("string")
        .itemCustomFields(Map.of("string", "string"))
        .keepPrevVersion("string")
        .outputRules("string")
        .autoRotate("string")
        .maxVersions("string")
        .araEnabled(false)
        .passwordLength("string")
        .retry(RotatedSecretDockerhubRetryArgs.builder()
            .errorMessageRegexes("string")
            .intervalSeconds(0.0)
            .maxIntervalSeconds(0.0)
            .maxRetries(0.0)
            .retryOnStatusCodes(0.0)
            .build())
        .rotatedSecretDockerhubId("string")
        .rotationEventIns("string")
        .rotationHour(0.0)
        .rotationInterval("string")
        .skipDryRun(false)
        .tags("string")
        .authenticationCredentials("string")
        .build());
    
    rotated_secret_dockerhub_resource = akeyless.RotatedSecretDockerhub("rotatedSecretDockerhubResource",
        target_name="string",
        key="string",
        name="string",
        delete_protection="string",
        description="string",
        enable_agentic_runtime_authority=False,
        enable_ai_quorum=False,
        input_rules=["string"],
        item_custom_fields={
            "string": "string",
        },
        keep_prev_version="string",
        output_rules=["string"],
        auto_rotate="string",
        max_versions="string",
        ara_enabled=False,
        password_length="string",
        retry={
            "error_message_regexes": ["string"],
            "interval_seconds": float(0),
            "max_interval_seconds": float(0),
            "max_retries": float(0),
            "retry_on_status_codes": [float(0)],
        },
        rotated_secret_dockerhub_id="string",
        rotation_event_ins=["string"],
        rotation_hour=float(0),
        rotation_interval="string",
        skip_dry_run=False,
        tags=["string"],
        authentication_credentials="string")
    
    const rotatedSecretDockerhubResource = new akeyless.RotatedSecretDockerhub("rotatedSecretDockerhubResource", {
        targetName: "string",
        key: "string",
        name: "string",
        deleteProtection: "string",
        description: "string",
        enableAgenticRuntimeAuthority: false,
        enableAiQuorum: false,
        inputRules: ["string"],
        itemCustomFields: {
            string: "string",
        },
        keepPrevVersion: "string",
        outputRules: ["string"],
        autoRotate: "string",
        maxVersions: "string",
        araEnabled: false,
        passwordLength: "string",
        retry: {
            errorMessageRegexes: ["string"],
            intervalSeconds: 0,
            maxIntervalSeconds: 0,
            maxRetries: 0,
            retryOnStatusCodes: [0],
        },
        rotatedSecretDockerhubId: "string",
        rotationEventIns: ["string"],
        rotationHour: 0,
        rotationInterval: "string",
        skipDryRun: false,
        tags: ["string"],
        authenticationCredentials: "string",
    });
    
    type: akeyless:RotatedSecretDockerhub
    properties:
        araEnabled: false
        authenticationCredentials: string
        autoRotate: string
        deleteProtection: string
        description: string
        enableAgenticRuntimeAuthority: false
        enableAiQuorum: false
        inputRules:
            - string
        itemCustomFields:
            string: string
        keepPrevVersion: string
        key: string
        maxVersions: string
        name: string
        outputRules:
            - string
        passwordLength: string
        retry:
            errorMessageRegexes:
                - string
            intervalSeconds: 0
            maxIntervalSeconds: 0
            maxRetries: 0
            retryOnStatusCodes:
                - 0
        rotatedSecretDockerhubId: string
        rotationEventIns:
            - string
        rotationHour: 0
        rotationInterval: string
        skipDryRun: false
        tags:
            - string
        targetName: string
    

    RotatedSecretDockerhub 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 RotatedSecretDockerhub resource accepts the following input properties:

    TargetName string
    The target name to associate
    AraEnabled bool
    Enable Agentic Runtime Authority
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    InputRules List<string>
    Password input rule definitions
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    KeepPrevVersion string
    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)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Secret name
    OutputRules List<string>
    Password output rule definitions
    PasswordLength string
    The length of the password to be generated
    Retry RotatedSecretDockerhubRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RotatedSecretDockerhubId string
    The ID of this resource.
    RotationEventIns List<string>
    How many days before the rotation of the item would you like to be notified
    RotationHour double
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    SkipDryRun bool
    Skip dry run
    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
    AraEnabled bool
    Enable Agentic Runtime Authority
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    InputRules []string
    Password input rule definitions
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    KeepPrevVersion string
    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)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Secret name
    OutputRules []string
    Password output rule definitions
    PasswordLength string
    The length of the password to be generated
    Retry RotatedSecretDockerhubRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RotatedSecretDockerhubId string
    The ID of this resource.
    RotationEventIns []string
    How many days before the rotation of the item would you like to be notified
    RotationHour float64
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    SkipDryRun bool
    Skip dry run
    Tags []string
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    target_name string
    The target name to associate
    ara_enabled bool
    Enable Agentic Runtime Authority
    authentication_credentials string
    The credentials to connect with use-self-creds/use-target-creds
    auto_rotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    delete_protection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    input_rules list(string)
    Password input rule definitions
    item_custom_fields map(string)
    Additional custom fields to associate with the item
    keep_prev_version string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    max_versions string
    Set the maximum number of versions, limited by the account settings defaults.
    name string
    Secret name
    output_rules list(string)
    Password output rule definitions
    password_length string
    The length of the password to be generated
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotated_secret_dockerhub_id string
    The ID of this resource.
    rotation_event_ins list(string)
    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)
    skip_dry_run bool
    Skip dry run
    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
    araEnabled Boolean
    Enable Agentic Runtime Authority
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    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)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Secret name
    outputRules List<String>
    Password output rule definitions
    passwordLength String
    The length of the password to be generated
    retry RotatedSecretDockerhubRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotatedSecretDockerhubId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Double
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    skipDryRun Boolean
    Skip dry run
    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
    araEnabled boolean
    Enable Agentic Runtime Authority
    authenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    enableAgenticRuntimeAuthority boolean
    Enable Agentic Runtime Authority
    enableAiQuorum boolean
    Enable AI Quorum
    inputRules string[]
    Password input rule definitions
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    keepPrevVersion string
    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)
    maxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    name string
    Secret name
    outputRules string[]
    Password output rule definitions
    passwordLength string
    The length of the password to be generated
    retry RotatedSecretDockerhubRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotatedSecretDockerhubId string
    The ID of this resource.
    rotationEventIns string[]
    How many days before the rotation of the item would you like to be notified
    rotationHour number
    The Hour of the rotation in UTC
    rotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    skipDryRun boolean
    Skip dry run
    tags string[]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    target_name str
    The target name to associate
    ara_enabled bool
    Enable Agentic Runtime Authority
    authentication_credentials str
    The credentials to connect with use-self-creds/use-target-creds
    auto_rotate str
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    input_rules Sequence[str]
    Password input rule definitions
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    keep_prev_version str
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key str
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    max_versions str
    Set the maximum number of versions, limited by the account settings defaults.
    name str
    Secret name
    output_rules Sequence[str]
    Password output rule definitions
    password_length str
    The length of the password to be generated
    retry RotatedSecretDockerhubRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotated_secret_dockerhub_id str
    The ID of this resource.
    rotation_event_ins Sequence[str]
    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)
    skip_dry_run bool
    Skip dry run
    tags Sequence[str]
    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
    araEnabled Boolean
    Enable Agentic Runtime Authority
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    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)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Secret name
    outputRules List<String>
    Password output rule definitions
    passwordLength String
    The length of the password to be generated
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotatedSecretDockerhubId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Number
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    skipDryRun Boolean
    Skip dry run
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RotatedSecretDockerhub 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 RotatedSecretDockerhub Resource

    Get an existing RotatedSecretDockerhub 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?: RotatedSecretDockerhubState, opts?: CustomResourceOptions): RotatedSecretDockerhub
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ara_enabled: Optional[bool] = None,
            authentication_credentials: Optional[str] = None,
            auto_rotate: Optional[str] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            enable_agentic_runtime_authority: Optional[bool] = None,
            enable_ai_quorum: Optional[bool] = None,
            input_rules: Optional[Sequence[str]] = None,
            item_custom_fields: Optional[Mapping[str, str]] = None,
            keep_prev_version: Optional[str] = None,
            key: Optional[str] = None,
            max_versions: Optional[str] = None,
            name: Optional[str] = None,
            output_rules: Optional[Sequence[str]] = None,
            password_length: Optional[str] = None,
            retry: Optional[RotatedSecretDockerhubRetryArgs] = None,
            rotated_secret_dockerhub_id: Optional[str] = None,
            rotation_event_ins: Optional[Sequence[str]] = None,
            rotation_hour: Optional[float] = None,
            rotation_interval: Optional[str] = None,
            skip_dry_run: Optional[bool] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None) -> RotatedSecretDockerhub
    func GetRotatedSecretDockerhub(ctx *Context, name string, id IDInput, state *RotatedSecretDockerhubState, opts ...ResourceOption) (*RotatedSecretDockerhub, error)
    public static RotatedSecretDockerhub Get(string name, Input<string> id, RotatedSecretDockerhubState? state, CustomResourceOptions? opts = null)
    public static RotatedSecretDockerhub get(String name, Output<String> id, RotatedSecretDockerhubState state, CustomResourceOptions options)
    resources:  existingRotatedSecretDockerhub:    type: akeyless:RotatedSecretDockerhub    get:      id: ${id}
    import {
      to = akeyless_rotated_secret_dockerhub.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state RotatedSecretDockerhubState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state RotatedSecretDockerhubState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state RotatedSecretDockerhubState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state RotatedSecretDockerhubState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    AraEnabled bool
    Enable Agentic Runtime Authority
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    InputRules List<string>
    Password input rule definitions
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    KeepPrevVersion string
    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)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Secret name
    OutputRules List<string>
    Password output rule definitions
    PasswordLength string
    The length of the password to be generated
    Retry RotatedSecretDockerhubRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RotatedSecretDockerhubId string
    The ID of this resource.
    RotationEventIns List<string>
    How many days before the rotation of the item would you like to be notified
    RotationHour double
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    SkipDryRun bool
    Skip dry run
    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
    AraEnabled bool
    Enable Agentic Runtime Authority
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    InputRules []string
    Password input rule definitions
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    KeepPrevVersion string
    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)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Secret name
    OutputRules []string
    Password output rule definitions
    PasswordLength string
    The length of the password to be generated
    Retry RotatedSecretDockerhubRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RotatedSecretDockerhubId string
    The ID of this resource.
    RotationEventIns []string
    How many days before the rotation of the item would you like to be notified
    RotationHour float64
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    SkipDryRun bool
    Skip dry run
    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
    ara_enabled bool
    Enable Agentic Runtime Authority
    authentication_credentials string
    The credentials to connect with use-self-creds/use-target-creds
    auto_rotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    delete_protection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    input_rules list(string)
    Password input rule definitions
    item_custom_fields map(string)
    Additional custom fields to associate with the item
    keep_prev_version string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    max_versions string
    Set the maximum number of versions, limited by the account settings defaults.
    name string
    Secret name
    output_rules list(string)
    Password output rule definitions
    password_length string
    The length of the password to be generated
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotated_secret_dockerhub_id string
    The ID of this resource.
    rotation_event_ins list(string)
    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)
    skip_dry_run bool
    Skip dry run
    tags 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
    araEnabled Boolean
    Enable Agentic Runtime Authority
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    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)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Secret name
    outputRules List<String>
    Password output rule definitions
    passwordLength String
    The length of the password to be generated
    retry RotatedSecretDockerhubRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotatedSecretDockerhubId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Double
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    skipDryRun Boolean
    Skip dry run
    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
    araEnabled boolean
    Enable Agentic Runtime Authority
    authenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    enableAgenticRuntimeAuthority boolean
    Enable Agentic Runtime Authority
    enableAiQuorum boolean
    Enable AI Quorum
    inputRules string[]
    Password input rule definitions
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    keepPrevVersion string
    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)
    maxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    name string
    Secret name
    outputRules string[]
    Password output rule definitions
    passwordLength string
    The length of the password to be generated
    retry RotatedSecretDockerhubRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotatedSecretDockerhubId string
    The ID of this resource.
    rotationEventIns string[]
    How many days before the rotation of the item would you like to be notified
    rotationHour number
    The Hour of the rotation in UTC
    rotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    skipDryRun boolean
    Skip dry run
    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
    ara_enabled bool
    Enable Agentic Runtime Authority
    authentication_credentials str
    The credentials to connect with use-self-creds/use-target-creds
    auto_rotate str
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    input_rules Sequence[str]
    Password input rule definitions
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    keep_prev_version str
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key str
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    max_versions str
    Set the maximum number of versions, limited by the account settings defaults.
    name str
    Secret name
    output_rules Sequence[str]
    Password output rule definitions
    password_length str
    The length of the password to be generated
    retry RotatedSecretDockerhubRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotated_secret_dockerhub_id str
    The ID of this resource.
    rotation_event_ins Sequence[str]
    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)
    skip_dry_run bool
    Skip dry run
    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
    araEnabled Boolean
    Enable Agentic Runtime Authority
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    inputRules List<String>
    Password input rule definitions
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    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)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Secret name
    outputRules List<String>
    Password output rule definitions
    passwordLength String
    The length of the password to be generated
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    rotatedSecretDockerhubId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Number
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    skipDryRun Boolean
    Skip dry run
    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

    Supporting Types

    RotatedSecretDockerhubRetry, RotatedSecretDockerhubRetryArgs

    ErrorMessageRegexes List<string>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds double
    Maximum wait between retries, in seconds.
    MaxRetries double
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes List<double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    ErrorMessageRegexes []string
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds float64
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds float64
    Maximum wait between retries, in seconds.
    MaxRetries float64
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes []float64
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes list(string)
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds number
    Maximum wait between retries, in seconds.
    max_retries number
    Maximum number of retries after the first attempt.
    retry_on_status_codes list(number)
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Double
    Maximum wait between retries, in seconds.
    maxRetries Double
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes string[]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds number
    Maximum wait between retries, in seconds.
    maxRetries number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes number[]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes Sequence[str]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds float
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds float
    Maximum wait between retries, in seconds.
    max_retries float
    Maximum number of retries after the first attempt.
    retry_on_status_codes Sequence[float]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Number
    Maximum wait between retries, in seconds.
    maxRetries Number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Number>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless
    Viewing docs for akeyless 2.1.0
    published on Thursday, Nov 19, 2026 by akeyless-community

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial