Skip to content

Obtains a workload access token for agentic workloads acting on behalf of a user, using a JWT token

Description

Obtains a workload access token for agentic workloads acting on behalf of a user, using a JWT token.

Usage

bedrockagentcore_get_workload_access_token_for_jwt(workloadName,
  userToken)

Arguments

  • workloadName

    [required] The unique identifier for the registered workload.

  • userToken

    [required] The OAuth 2.0 token issued by the user's identity provider.

Value

A list with the following syntax:

list(
  workloadAccessToken = "string"
)

Request syntax

svc$get_workload_access_token_for_jwt(
  workloadName = "string",
  userToken = "string"
)