1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. getTags
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 tags data source

    Using getTags

    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 getTags(args: GetTagsArgs, opts?: InvokeOptions): Promise<GetTagsResult>
    function getTagsOutput(args: GetTagsOutputArgs, opts?: InvokeOptions): Output<GetTagsResult>
    def get_tags(id: Optional[str] = None,
                 name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTagsResult
    def get_tags_output(id: pulumi.Input[Optional[str]] = None,
                 name: pulumi.Input[Optional[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetTagsResult]
    func GetTags(ctx *Context, args *GetTagsArgs, opts ...InvokeOption) (*GetTagsResult, error)
    func GetTagsOutput(ctx *Context, args *GetTagsOutputArgs, opts ...InvokeOption) GetTagsResultOutput

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

    public static class GetTags 
    {
        public static Task<GetTagsResult> InvokeAsync(GetTagsArgs args, InvokeOptions? opts = null)
        public static Output<GetTagsResult> Invoke(GetTagsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
    public static Output<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akeyless:index/getTags:getTags
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Item name
    Id string
    The ID of this resource.
    Name string
    Item name
    Id string
    The ID of this resource.
    name String
    Item name
    id String
    The ID of this resource.
    name string
    Item name
    id string
    The ID of this resource.
    name str
    Item name
    id str
    The ID of this resource.
    name String
    Item name
    id String
    The ID of this resource.

    getTags Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Name string
    Item name
    Tags List<string>
    List of item tags
    Id string
    The ID of this resource.
    Name string
    Item name
    Tags []string
    List of item tags
    id String
    The ID of this resource.
    name String
    Item name
    tags List<String>
    List of item tags
    id string
    The ID of this resource.
    name string
    Item name
    tags string[]
    List of item tags
    id str
    The ID of this resource.
    name str
    Item name
    tags Sequence[str]
    List of item tags
    id String
    The ID of this resource.
    name String
    Item name
    tags List<String>
    List of item tags

    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.