-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Description
The agentcore fetch command looks for the identity in the name (agentname)-oauth. The TUI does not ask for the identity name when the agent is selected. By default it is trying to look for the identity name as (agentname)-oauth.
Here's the error:
agentcore fetch access --name travel-planner-gateway
Error: No managed OAuth credential found for 'travel-planner-gateway'. Expected credential 'travel-planner-gateway-oauth'. Re-create the resource with --client-id and --client-secret.
Steps to Reproduce
- add agent
- create identity (use name of the identity as say (agentname)OAuth
Expected Behavior
In TUI, after selecting the agent name, it should show the list of identities available for the user to pick the one for the agent. The CLI command should also provide option to choose the identity name rather than using the default ie (agentname)-oauth
Actual Behavior
The agentcore fetch command automatically tries to get the identity name as (agentname)_oauth.
CLI Version
0.3.0-preview.9.0
Operating System
macOS
Additional Context
No response