akeyless 1.11.1 published on Wednesday, Oct 15, 2025 by akeyless-community
akeyless.getRotatedSecret
akeyless 1.11.1 published on Wednesday, Oct 15, 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,
                       ignore_cache: 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,
                       ignore_cache: 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 dictionaryThe following arguments are supported:
- Name string
 - Secret name
 - Id string
 - The ID of this resource.
 - Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - Version double
 - Secret version
 
- Name string
 - Secret name
 - Id string
 - The ID of this resource.
 - Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - Version float64
 - Secret version
 
- name String
 - Secret name
 - id String
 - The ID of this resource.
 - ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - version Double
 - Secret version
 
- name string
 - Secret name
 - id string
 - The ID of this resource.
 - ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - version number
 - Secret version
 
- name str
 - Secret name
 - id str
 - The ID of this resource.
 - ignore_
cache str - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - version float
 - Secret version
 
- name String
 - Secret name
 - id String
 - The ID of this resource.
 - ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - 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
 - Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - Version double
 - Secret version
 
- Id string
 - The ID of this resource.
 - Name string
 - Secret name
 - Value string
 - output
 - Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - Version float64
 - Secret version
 
- id String
 - The ID of this resource.
 - name String
 - Secret name
 - value String
 - output
 - ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - version Double
 - Secret version
 
- id string
 - The ID of this resource.
 - name string
 - Secret name
 - value string
 - output
 - ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - version number
 - Secret version
 
- id str
 - The ID of this resource.
 - name str
 - Secret name
 - value str
 - output
 - ignore_
cache str - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - version float
 - Secret version
 
- id String
 - The ID of this resource.
 - name String
 - Secret name
 - value String
 - output
 - ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
 - version Number
 - Secret version
 
Package Details
- Repository
 - akeyless akeyless-community/terraform-provider-akeyless
 - License
 - Notes
 - This Pulumi package is based on the 
akeylessTerraform Provider. 
akeyless 1.11.1 published on Wednesday, Oct 15, 2025 by akeyless-community
