Skip to content

Get Workload Access Token For User Id

bedrockagentcore_get_workload_access_token_for_user_id R Documentation

Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID

Description

Obtains a workload access token for agentic workloads acting on behalf of a user, using the user's ID.

Usage

bedrockagentcore_get_workload_access_token_for_user_id(workloadName,
  userId)

Arguments

workloadName

[required] The name of the workload from which you want to retrieve the access token.

userId

[required] The ID of the user for whom you are retrieving the access token.

Value

A list with the following syntax:

list(
  workloadAccessToken = "string"
)

Request syntax

svc$get_workload_access_token_for_user_id(
  workloadName = "string",
  userId = "string"
)