1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. access
  6. getApiKeys
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security

    Using getApiKeys

    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 getApiKeys(args: GetApiKeysArgs, opts?: InvokeOptions): Promise<GetApiKeysResult>
    function getApiKeysOutput(args: GetApiKeysOutputArgs, opts?: InvokeOptions): Output<GetApiKeysResult>
    def get_api_keys(active_only: Optional[bool] = None,
                     scope_level: Optional[str] = None,
                     scope_target_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetApiKeysResult
    def get_api_keys_output(active_only: pulumi.Input[Optional[bool]] = None,
                     scope_level: pulumi.Input[Optional[str]] = None,
                     scope_target_id: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetApiKeysResult]
    func GetApiKeys(ctx *Context, args *GetApiKeysArgs, opts ...InvokeOption) (*GetApiKeysResult, error)
    func GetApiKeysOutput(ctx *Context, args *GetApiKeysOutputArgs, opts ...InvokeOption) GetApiKeysResultOutput

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

    public static class GetApiKeys 
    {
        public static Task<GetApiKeysResult> InvokeAsync(GetApiKeysArgs args, InvokeOptions? opts = null)
        public static Output<GetApiKeysResult> Invoke(GetApiKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApiKeysResult> getApiKeys(GetApiKeysArgs args, InvokeOptions options)
    public static Output<GetApiKeysResult> getApiKeys(GetApiKeysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: thoth:access/getApiKeys:getApiKeys
      arguments:
        # arguments dictionary
    data "thoth_access_get_api_keys" "name" {
        # arguments
    }

    The following arguments are supported:

    activeOnly Boolean
    scopeLevel String
    scopeTargetId String
    activeOnly boolean
    scopeLevel string
    scopeTargetId string
    activeOnly Boolean
    scopeLevel String
    scopeTargetId String

    getApiKeys Result

    The following output properties are available:

    DataJson string
    Id string
    The provider-assigned unique ID for this managed resource.
    Total int
    ActiveOnly bool
    ScopeLevel string
    ScopeTargetId string
    DataJson string
    Id string
    The provider-assigned unique ID for this managed resource.
    Total int
    ActiveOnly bool
    ScopeLevel string
    ScopeTargetId string
    data_json string
    id string
    The provider-assigned unique ID for this managed resource.
    total number
    active_only bool
    scope_level string
    scope_target_id string
    dataJson String
    id String
    The provider-assigned unique ID for this managed resource.
    total Integer
    activeOnly Boolean
    scopeLevel String
    scopeTargetId String
    dataJson string
    id string
    The provider-assigned unique ID for this managed resource.
    total number
    activeOnly boolean
    scopeLevel string
    scopeTargetId string
    data_json str
    id str
    The provider-assigned unique ID for this managed resource.
    total int
    active_only bool
    scope_level str
    scope_target_id str
    dataJson String
    id String
    The provider-assigned unique ID for this managed resource.
    total Number
    activeOnly Boolean
    scopeLevel String
    scopeTargetId String

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo
    Viewing docs for Thoth v0.1.15
    published on Thursday, Jul 23, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial