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

akeyless.getRotatedSecret

Explore with Pulumi AI

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

    Get rotated secret value data source

    Using getRotatedSecret

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRotatedSecret(args: GetRotatedSecretArgs, opts?: InvokeOptions): Promise<GetRotatedSecretResult>
    function getRotatedSecretOutput(args: GetRotatedSecretOutputArgs, opts?: InvokeOptions): Output<GetRotatedSecretResult>
    def get_rotated_secret(id: Optional[str] = None,
                           name: Optional[str] = None,
                           version: Optional[float] = None,
                           opts: Optional[InvokeOptions] = None) -> GetRotatedSecretResult
    def get_rotated_secret_output(id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           version: Optional[pulumi.Input[float]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetRotatedSecretResult]
    func LookupRotatedSecret(ctx *Context, args *LookupRotatedSecretArgs, opts ...InvokeOption) (*LookupRotatedSecretResult, error)
    func LookupRotatedSecretOutput(ctx *Context, args *LookupRotatedSecretOutputArgs, opts ...InvokeOption) LookupRotatedSecretResultOutput

    > Note: This function is named LookupRotatedSecret in the Go SDK.

    public static class GetRotatedSecret 
    {
        public static Task<GetRotatedSecretResult> InvokeAsync(GetRotatedSecretArgs args, InvokeOptions? opts = null)
        public static Output<GetRotatedSecretResult> Invoke(GetRotatedSecretInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRotatedSecretResult> getRotatedSecret(GetRotatedSecretArgs args, InvokeOptions options)
    public static Output<GetRotatedSecretResult> getRotatedSecret(GetRotatedSecretArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akeyless:index/getRotatedSecret:getRotatedSecret
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Secret name
    Id string
    The ID of this resource.
    Version double
    Secret version
    Name string
    Secret name
    Id string
    The ID of this resource.
    Version float64
    Secret version
    name String
    Secret name
    id String
    The ID of this resource.
    version Double
    Secret version
    name string
    Secret name
    id string
    The ID of this resource.
    version number
    Secret version
    name str
    Secret name
    id str
    The ID of this resource.
    version float
    Secret version
    name String
    Secret name
    id String
    The ID of this resource.
    version Number
    Secret version

    getRotatedSecret Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Name string
    Secret name
    Value string
    output
    Version double
    Secret version
    Id string
    The ID of this resource.
    Name string
    Secret name
    Value string
    output
    Version float64
    Secret version
    id String
    The ID of this resource.
    name String
    Secret name
    value String
    output
    version Double
    Secret version
    id string
    The ID of this resource.
    name string
    Secret name
    value string
    output
    version number
    Secret version
    id str
    The ID of this resource.
    name str
    Secret name
    value str
    output
    version float
    Secret version
    id String
    The ID of this resource.
    name String
    Secret name
    value String
    output
    version Number
    Secret version

    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