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 data source
Using getTarget
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 getTarget(args: GetTargetArgs, opts?: InvokeOptions): Promise<GetTargetResult>
function getTargetOutput(args: GetTargetOutputArgs, opts?: InvokeOptions): Output<GetTargetResult>def get_target(id: Optional[str] = None,
name: Optional[str] = None,
show_versions: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetResult
def get_target_output(id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
show_versions: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetResult]func GetTarget(ctx *Context, args *GetTargetArgs, opts ...InvokeOption) (*GetTargetResult, error)
func GetTargetOutput(ctx *Context, args *GetTargetOutputArgs, opts ...InvokeOption) GetTargetResultOutput> Note: This function is named GetTarget in the Go SDK.
public static class GetTarget
{
public static Task<GetTargetResult> InvokeAsync(GetTargetArgs args, InvokeOptions? opts = null)
public static Output<GetTargetResult> Invoke(GetTargetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTargetResult> getTarget(GetTargetArgs args, InvokeOptions options)
public static Output<GetTargetResult> getTarget(GetTargetArgs args, InvokeOptions options)
fn::invoke:
function: akeyless:index/getTarget:getTarget
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
- Name string
- Target name
- Id string
- The ID of this resource.
- Show
Versions bool - Include all target versions in reply
- name String
- Target name
- id String
- The ID of this resource.
- show
Versions Boolean - Include all target versions in reply
- name string
- Target name
- id string
- The ID of this resource.
- show
Versions boolean - Include all target versions in reply
- name str
- Target name
- id str
- The ID of this resource.
- show_
versions bool - Include all target versions in reply
- name String
- Target name
- id String
- The ID of this resource.
- show
Versions Boolean - Include all target versions in reply
getTarget Result
The following output properties are available:
- Access
Date string - Access date of the target
- Access
Date stringDisplay - Access date display of the target
- Access
Request stringStatus - Access request status of the target
- Attributes Dictionary<string, string>
- Target attributes
- Client
Permissions List<string> - Creation
Date string - Creation date of the target
- Description string
- Id string
- The ID of this resource.
- Is
Access boolRequest Enabled - Whether access request is enabled for the target
- Last
Version double - Modification
Date string - Modification date of the target
- Name string
- Target name
- Parent
Target stringName - Parent target name
- Protection
Key stringName - Target
Details string - Target details
- Target
Id double - Target
Items stringAssoc - Target
Name string - Target
Sub stringType - Target sub type
- Target
Type string - Target
Versions string - With
Customer boolFragment - Show
Versions bool - Include all target versions in reply
- Access
Date string - Access date of the target
- Access
Date stringDisplay - Access date display of the target
- Access
Request stringStatus - Access request status of the target
- Attributes map[string]string
- Target attributes
- Client
Permissions []string - Creation
Date string - Creation date of the target
- Description string
- Id string
- The ID of this resource.
- Is
Access boolRequest Enabled - Whether access request is enabled for the target
- Last
Version float64 - Modification
Date string - Modification date of the target
- Name string
- Target name
- Parent
Target stringName - Parent target name
- Protection
Key stringName - Target
Details string - Target details
- Target
Id float64 - Target
Items stringAssoc - Target
Name string - Target
Sub stringType - Target sub type
- Target
Type string - Target
Versions string - With
Customer boolFragment - Show
Versions bool - Include all target versions in reply
- access
Date String - Access date of the target
- access
Date StringDisplay - Access date display of the target
- access
Request StringStatus - Access request status of the target
- attributes Map<String,String>
- Target attributes
- client
Permissions List<String> - creation
Date String - Creation date of the target
- description String
- id String
- The ID of this resource.
- is
Access BooleanRequest Enabled - Whether access request is enabled for the target
- last
Version Double - modification
Date String - Modification date of the target
- name String
- Target name
- parent
Target StringName - Parent target name
- protection
Key StringName - target
Details String - Target details
- target
Id Double - target
Items StringAssoc - target
Name String - target
Sub StringType - Target sub type
- target
Type String - target
Versions String - with
Customer BooleanFragment - show
Versions Boolean - Include all target versions in reply
- access
Date string - Access date of the target
- access
Date stringDisplay - Access date display of the target
- access
Request stringStatus - Access request status of the target
- attributes {[key: string]: string}
- Target attributes
- client
Permissions string[] - creation
Date string - Creation date of the target
- description string
- id string
- The ID of this resource.
- is
Access booleanRequest Enabled - Whether access request is enabled for the target
- last
Version number - modification
Date string - Modification date of the target
- name string
- Target name
- parent
Target stringName - Parent target name
- protection
Key stringName - target
Details string - Target details
- target
Id number - target
Items stringAssoc - target
Name string - target
Sub stringType - Target sub type
- target
Type string - target
Versions string - with
Customer booleanFragment - show
Versions boolean - Include all target versions in reply
- access_
date str - Access date of the target
- access_
date_ strdisplay - Access date display of the target
- access_
request_ strstatus - Access request status of the target
- attributes Mapping[str, str]
- Target attributes
- client_
permissions Sequence[str] - creation_
date str - Creation date of the target
- description str
- id str
- The ID of this resource.
- is_
access_ boolrequest_ enabled - Whether access request is enabled for the target
- last_
version float - modification_
date str - Modification date of the target
- name str
- Target name
- parent_
target_ strname - Parent target name
- protection_
key_ strname - target_
details str - Target details
- target_
id float - target_
items_ strassoc - target_
name str - target_
sub_ strtype - Target sub type
- target_
type str - target_
versions str - with_
customer_ boolfragment - show_
versions bool - Include all target versions in reply
- access
Date String - Access date of the target
- access
Date StringDisplay - Access date display of the target
- access
Request StringStatus - Access request status of the target
- attributes Map<String>
- Target attributes
- client
Permissions List<String> - creation
Date String - Creation date of the target
- description String
- id String
- The ID of this resource.
- is
Access BooleanRequest Enabled - Whether access request is enabled for the target
- last
Version Number - modification
Date String - Modification date of the target
- name String
- Target name
- parent
Target StringName - Parent target name
- protection
Key StringName - target
Details String - Target details
- target
Id Number - target
Items StringAssoc - target
Name String - target
Sub StringType - Target sub type
- target
Type String - target
Versions String - with
Customer BooleanFragment - show
Versions Boolean - Include all target versions in reply
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
