1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. getTargetDetails
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community

    Get target details data source

    Using getTargetDetails

    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 getTargetDetails(args: GetTargetDetailsArgs, opts?: InvokeOptions): Promise<GetTargetDetailsResult>
    function getTargetDetailsOutput(args: GetTargetDetailsOutputArgs, opts?: InvokeOptions): Output<GetTargetDetailsResult>
    def get_target_details(id: Optional[str] = None,
                           name: Optional[str] = None,
                           show_versions: Optional[bool] = None,
                           target_version: Optional[float] = None,
                           opts: Optional[InvokeOptions] = None) -> GetTargetDetailsResult
    def get_target_details_output(id: pulumi.Input[Optional[str]] = None,
                           name: pulumi.Input[Optional[str]] = None,
                           show_versions: pulumi.Input[Optional[bool]] = None,
                           target_version: pulumi.Input[Optional[float]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetTargetDetailsResult]
    func GetTargetDetails(ctx *Context, args *GetTargetDetailsArgs, opts ...InvokeOption) (*GetTargetDetailsResult, error)
    func GetTargetDetailsOutput(ctx *Context, args *GetTargetDetailsOutputArgs, opts ...InvokeOption) GetTargetDetailsResultOutput

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

    public static class GetTargetDetails 
    {
        public static Task<GetTargetDetailsResult> InvokeAsync(GetTargetDetailsArgs args, InvokeOptions? opts = null)
        public static Output<GetTargetDetailsResult> Invoke(GetTargetDetailsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTargetDetailsResult> getTargetDetails(GetTargetDetailsArgs args, InvokeOptions options)
    public static Output<GetTargetDetailsResult> getTargetDetails(GetTargetDetailsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akeyless:index/getTargetDetails:getTargetDetails
      arguments:
        # arguments dictionary
    data "akeyless_gettargetdetails" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Target name
    Id string
    The ID of this resource.
    ShowVersions bool
    Include all target versions in reply
    TargetVersion double
    Target version
    Name string
    Target name
    Id string
    The ID of this resource.
    ShowVersions bool
    Include all target versions in reply
    TargetVersion float64
    Target version
    name string
    Target name
    id string
    The ID of this resource.
    show_versions bool
    Include all target versions in reply
    target_version number
    Target version
    name String
    Target name
    id String
    The ID of this resource.
    showVersions Boolean
    Include all target versions in reply
    targetVersion Double
    Target version
    name string
    Target name
    id string
    The ID of this resource.
    showVersions boolean
    Include all target versions in reply
    targetVersion number
    Target version
    name str
    Target name
    id str
    The ID of this resource.
    show_versions bool
    Include all target versions in reply
    target_version float
    Target version
    name String
    Target name
    id String
    The ID of this resource.
    showVersions Boolean
    Include all target versions in reply
    targetVersion Number
    Target version

    getTargetDetails Result

    The following output properties are available:

    AccessDate string
    Access date
    AccessDateDisplay string
    Access date display
    AccessRequestStatus string
    Access request status
    Attributes Dictionary<string, string>
    Target attributes
    ClientPermissions List<string>
    Client permissions
    CreationDate string
    Creation date
    Description string
    Description of the target
    Id string
    The ID of this resource.
    IsAccessRequestEnabled bool
    Whether access request is enabled for this target
    LastVersion double
    Last version of the target
    ModificationDate string
    Modification date
    Name string
    Target name
    ParentTargetName string
    Parent target name
    ProtectionKeyName string
    Protection key name
    TargetDetails string
    Target details
    TargetId double
    Target ID
    TargetName string
    Target name
    TargetSubType string
    Target sub type
    TargetType string
    Target type
    Value Dictionary<string, string>
    WithCustomerFragment bool
    Whether the target has customer fragment
    ShowVersions bool
    Include all target versions in reply
    TargetVersion double
    Target version
    AccessDate string
    Access date
    AccessDateDisplay string
    Access date display
    AccessRequestStatus string
    Access request status
    Attributes map[string]string
    Target attributes
    ClientPermissions []string
    Client permissions
    CreationDate string
    Creation date
    Description string
    Description of the target
    Id string
    The ID of this resource.
    IsAccessRequestEnabled bool
    Whether access request is enabled for this target
    LastVersion float64
    Last version of the target
    ModificationDate string
    Modification date
    Name string
    Target name
    ParentTargetName string
    Parent target name
    ProtectionKeyName string
    Protection key name
    TargetDetails string
    Target details
    TargetId float64
    Target ID
    TargetName string
    Target name
    TargetSubType string
    Target sub type
    TargetType string
    Target type
    Value map[string]string
    WithCustomerFragment bool
    Whether the target has customer fragment
    ShowVersions bool
    Include all target versions in reply
    TargetVersion float64
    Target version
    access_date string
    Access date
    access_date_display string
    Access date display
    access_request_status string
    Access request status
    attributes map(string)
    Target attributes
    client_permissions list(string)
    Client permissions
    creation_date string
    Creation date
    description string
    Description of the target
    id string
    The ID of this resource.
    is_access_request_enabled bool
    Whether access request is enabled for this target
    last_version number
    Last version of the target
    modification_date string
    Modification date
    name string
    Target name
    parent_target_name string
    Parent target name
    protection_key_name string
    Protection key name
    target_details string
    Target details
    target_id number
    Target ID
    target_name string
    Target name
    target_sub_type string
    Target sub type
    target_type string
    Target type
    value map(string)
    with_customer_fragment bool
    Whether the target has customer fragment
    show_versions bool
    Include all target versions in reply
    target_version number
    Target version
    accessDate String
    Access date
    accessDateDisplay String
    Access date display
    accessRequestStatus String
    Access request status
    attributes Map<String,String>
    Target attributes
    clientPermissions List<String>
    Client permissions
    creationDate String
    Creation date
    description String
    Description of the target
    id String
    The ID of this resource.
    isAccessRequestEnabled Boolean
    Whether access request is enabled for this target
    lastVersion Double
    Last version of the target
    modificationDate String
    Modification date
    name String
    Target name
    parentTargetName String
    Parent target name
    protectionKeyName String
    Protection key name
    targetDetails String
    Target details
    targetId Double
    Target ID
    targetName String
    Target name
    targetSubType String
    Target sub type
    targetType String
    Target type
    value Map<String,String>
    withCustomerFragment Boolean
    Whether the target has customer fragment
    showVersions Boolean
    Include all target versions in reply
    targetVersion Double
    Target version
    accessDate string
    Access date
    accessDateDisplay string
    Access date display
    accessRequestStatus string
    Access request status
    attributes {[key: string]: string}
    Target attributes
    clientPermissions string[]
    Client permissions
    creationDate string
    Creation date
    description string
    Description of the target
    id string
    The ID of this resource.
    isAccessRequestEnabled boolean
    Whether access request is enabled for this target
    lastVersion number
    Last version of the target
    modificationDate string
    Modification date
    name string
    Target name
    parentTargetName string
    Parent target name
    protectionKeyName string
    Protection key name
    targetDetails string
    Target details
    targetId number
    Target ID
    targetName string
    Target name
    targetSubType string
    Target sub type
    targetType string
    Target type
    value {[key: string]: string}
    withCustomerFragment boolean
    Whether the target has customer fragment
    showVersions boolean
    Include all target versions in reply
    targetVersion number
    Target version
    access_date str
    Access date
    access_date_display str
    Access date display
    access_request_status str
    Access request status
    attributes Mapping[str, str]
    Target attributes
    client_permissions Sequence[str]
    Client permissions
    creation_date str
    Creation date
    description str
    Description of the target
    id str
    The ID of this resource.
    is_access_request_enabled bool
    Whether access request is enabled for this target
    last_version float
    Last version of the target
    modification_date str
    Modification date
    name str
    Target name
    parent_target_name str
    Parent target name
    protection_key_name str
    Protection key name
    target_details str
    Target details
    target_id float
    Target ID
    target_name str
    Target name
    target_sub_type str
    Target sub type
    target_type str
    Target type
    value Mapping[str, str]
    with_customer_fragment bool
    Whether the target has customer fragment
    show_versions bool
    Include all target versions in reply
    target_version float
    Target version
    accessDate String
    Access date
    accessDateDisplay String
    Access date display
    accessRequestStatus String
    Access request status
    attributes Map<String>
    Target attributes
    clientPermissions List<String>
    Client permissions
    creationDate String
    Creation date
    description String
    Description of the target
    id String
    The ID of this resource.
    isAccessRequestEnabled Boolean
    Whether access request is enabled for this target
    lastVersion Number
    Last version of the target
    modificationDate String
    Modification date
    name String
    Target name
    parentTargetName String
    Parent target name
    protectionKeyName String
    Protection key name
    targetDetails String
    Target details
    targetId Number
    Target ID
    targetName String
    Target name
    targetSubType String
    Target sub type
    targetType String
    Target type
    value Map<String>
    withCustomerFragment Boolean
    Whether the target has customer fragment
    showVersions Boolean
    Include all target versions in reply
    targetVersion Number
    Target version

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    Viewing docs for akeyless 2.0.1
    published on Monday, Apr 27, 2026 by akeyless-community
      Try Pulumi Cloud free. Your team will thank you.