Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Using getApiKeyAuthorization
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 getApiKeyAuthorization(args: GetApiKeyAuthorizationArgs, opts?: InvokeOptions): Promise<GetApiKeyAuthorizationResult>
function getApiKeyAuthorizationOutput(args: GetApiKeyAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetApiKeyAuthorizationResult>def get_api_key_authorization(api_key: Optional[str] = None,
key_id: Optional[str] = None,
permission: Optional[str] = None,
resource_id: Optional[str] = None,
resource_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiKeyAuthorizationResult
def get_api_key_authorization_output(api_key: pulumi.Input[Optional[str]] = None,
key_id: pulumi.Input[Optional[str]] = None,
permission: pulumi.Input[Optional[str]] = None,
resource_id: pulumi.Input[Optional[str]] = None,
resource_type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiKeyAuthorizationResult]func GetApiKeyAuthorization(ctx *Context, args *GetApiKeyAuthorizationArgs, opts ...InvokeOption) (*GetApiKeyAuthorizationResult, error)
func GetApiKeyAuthorizationOutput(ctx *Context, args *GetApiKeyAuthorizationOutputArgs, opts ...InvokeOption) GetApiKeyAuthorizationResultOutput> Note: This function is named GetApiKeyAuthorization in the Go SDK.
public static class GetApiKeyAuthorization
{
public static Task<GetApiKeyAuthorizationResult> InvokeAsync(GetApiKeyAuthorizationArgs args, InvokeOptions? opts = null)
public static Output<GetApiKeyAuthorizationResult> Invoke(GetApiKeyAuthorizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiKeyAuthorizationResult> getApiKeyAuthorization(GetApiKeyAuthorizationArgs args, InvokeOptions options)
public static Output<GetApiKeyAuthorizationResult> getApiKeyAuthorization(GetApiKeyAuthorizationArgs args, InvokeOptions options)
fn::invoke:
function: thoth:access/getApiKeyAuthorization:getApiKeyAuthorization
arguments:
# arguments dictionarydata "thoth_access_get_api_key_authorization" "name" {
# arguments
}The following arguments are supported:
- Api
Key string - Key
Id string - Permission string
- Resource
Type string - Resource
Id string
- Api
Key string - Key
Id string - Permission string
- Resource
Type string - Resource
Id string
- api_
key string - key_
id string - permission string
- resource_
type string - resource_
id string
- api
Key String - key
Id String - permission String
- resource
Type String - resource
Id String
- api
Key string - key
Id string - permission string
- resource
Type string - resource
Id string
- api_
key str - key_
id str - permission str
- resource_
type str - resource_
id str
- api
Key String - key
Id String - permission String
- resource
Type String - resource
Id String
getApiKeyAuthorization Result
The following output properties are available:
- Api
Key string - bool
- Expired bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Key
Id string - Permission string
- Permission
Allowed bool - Resource
Type string - Response
Json string - Scope
Allowed bool - Scope
Level string - Scope
Target stringId - Valid bool
- Validated
At string - Resource
Id string
- Api
Key string - bool
- Expired bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Key
Id string - Permission string
- Permission
Allowed bool - Resource
Type string - Response
Json string - Scope
Allowed bool - Scope
Level string - Scope
Target stringId - Valid bool
- Validated
At string - Resource
Id string
- api_
key string - bool
- expired bool
- id string
- The provider-assigned unique ID for this managed resource.
- key_
id string - permission string
- permission_
allowed bool - resource_
type string - response_
json string - scope_
allowed bool - scope_
level string - scope_
target_ stringid - valid bool
- validated_
at string - resource_
id string
- api
Key String - Boolean
- expired Boolean
- id String
- The provider-assigned unique ID for this managed resource.
- key
Id String - permission String
- permission
Allowed Boolean - resource
Type String - response
Json String - scope
Allowed Boolean - scope
Level String - scope
Target StringId - valid Boolean
- validated
At String - resource
Id String
- api
Key string - boolean
- expired boolean
- id string
- The provider-assigned unique ID for this managed resource.
- key
Id string - permission string
- permission
Allowed boolean - resource
Type string - response
Json string - scope
Allowed boolean - scope
Level string - scope
Target stringId - valid boolean
- validated
At string - resource
Id string
- api_
key str - bool
- expired bool
- id str
- The provider-assigned unique ID for this managed resource.
- key_
id str - permission str
- permission_
allowed bool - resource_
type str - response_
json str - scope_
allowed bool - scope_
level str - scope_
target_ strid - valid bool
- validated_
at str - resource_
id str
- api
Key String - Boolean
- expired Boolean
- id String
- The provider-assigned unique ID for this managed resource.
- key
Id String - permission String
- permission
Allowed Boolean - resource
Type String - response
Json String - scope
Allowed Boolean - scope
Level String - scope
Target StringId - valid Boolean
- validated
At String - resource
Id String
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security