Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
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
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 dictionaryThe following arguments are supported:
- Name string
- Target name
- Id string
- The ID of this resource.
- Show
Versions bool - Include all target versions in reply
- Target
Version double - Target version
- Name string
- Target name
- Id string
- The ID of this resource.
- Show
Versions bool - Include all target versions in reply
- Target
Version float64 - Target version
- name String
- Target name
- id String
- The ID of this resource.
- show
Versions Boolean - Include all target versions in reply
- target
Version Double - Target version
- name string
- Target name
- id string
- The ID of this resource.
- show
Versions boolean - Include all target versions in reply
- target
Version 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.
- show
Versions Boolean - Include all target versions in reply
- target
Version Number - Target version
getTargetDetails Result
The following output properties are available:
- Access
Date string - Access date
- Access
Date stringDisplay - Access date display
- Access
Request stringStatus - Access request status
- Attributes Dictionary<string, 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 boolRequest Enabled - Whether access request is enabled for this target
- Last
Version double - Last version of the target
- Modification
Date string - Modification date
- Name string
- Target name
- Parent
Target stringName - Parent target name
- Protection
Key stringName - Protection key name
- Target
Details string - Target details
- Target
Id double - Target ID
- Target
Name string - Target name
- Target
Sub stringType - Target sub type
- Target
Type string - Target type
- Value Dictionary<string, string>
- With
Customer boolFragment - Whether the target has customer fragment
- Show
Versions bool - Include all target versions in reply
- Target
Version double - Target version
- Access
Date string - Access date
- Access
Date stringDisplay - Access date display
- Access
Request stringStatus - Access request status
- Attributes map[string]string
- Target attributes
- Client
Permissions []string - Client permissions
- Creation
Date string - Creation date
- Description string
- Description of the target
- Id string
- The ID of this resource.
- Is
Access boolRequest Enabled - Whether access request is enabled for this target
- Last
Version float64 - Last version of the target
- Modification
Date string - Modification date
- Name string
- Target name
- Parent
Target stringName - Parent target name
- Protection
Key stringName - Protection key name
- Target
Details string - Target details
- Target
Id float64 - Target ID
- Target
Name string - Target name
- Target
Sub stringType - Target sub type
- Target
Type string - Target type
- Value map[string]string
- With
Customer boolFragment - Whether the target has customer fragment
- Show
Versions bool - Include all target versions in reply
- Target
Version float64 - Target version
- access
Date String - Access date
- access
Date StringDisplay - Access date display
- access
Request StringStatus - Access request status
- attributes Map<String,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 BooleanRequest Enabled - Whether access request is enabled for this target
- last
Version Double - Last version of the target
- modification
Date String - Modification date
- name String
- Target name
- parent
Target StringName - Parent target name
- protection
Key StringName - Protection key name
- target
Details String - Target details
- target
Id Double - Target ID
- target
Name String - Target name
- target
Sub StringType - Target sub type
- target
Type String - Target type
- value Map<String,String>
- with
Customer BooleanFragment - Whether the target has customer fragment
- show
Versions Boolean - Include all target versions in reply
- target
Version Double - Target version
- access
Date string - Access date
- access
Date stringDisplay - Access date display
- access
Request stringStatus - Access request status
- attributes {[key: string]: string}
- Target attributes
- client
Permissions string[] - Client permissions
- creation
Date string - Creation date
- description string
- Description of the target
- id string
- The ID of this resource.
- is
Access booleanRequest Enabled - 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 stringName - Parent target name
- protection
Key stringName - Protection key name
- target
Details string - Target details
- target
Id number - Target ID
- target
Name string - Target name
- target
Sub stringType - Target sub type
- target
Type string - Target type
- value {[key: string]: string}
- with
Customer booleanFragment - Whether the target has customer fragment
- show
Versions boolean - Include all target versions in reply
- target
Version number - Target version
- access_
date str - Access date
- access_
date_ strdisplay - Access date display
- access_
request_ strstatus - 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_ boolrequest_ enabled - 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_ strname - Parent target name
- protection_
key_ strname - Protection key name
- target_
details str - Target details
- target_
id float - Target ID
- target_
name str - Target name
- target_
sub_ strtype - Target sub type
- target_
type str - Target type
- value Mapping[str, str]
- with_
customer_ boolfragment - Whether the target has customer fragment
- show_
versions bool - Include all target versions in reply
- target_
version float - Target version
- access
Date String - Access date
- access
Date StringDisplay - Access date display
- access
Request StringStatus - 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 BooleanRequest Enabled - 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 StringName - Parent target name
- protection
Key StringName - Protection key name
- target
Details String - Target details
- target
Id Number - Target ID
- target
Name String - Target name
- target
Sub StringType - Target sub type
- target
Type String - Target type
- value Map<String>
- with
Customer BooleanFragment - Whether the target has customer fragment
- show
Versions Boolean - Include all target versions in reply
- target
Version Number - Target version
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
