Amazon Bedrock AgentCore is in preview release and is subject to change.
Update API key
You can update an existing API key to replace the key value when your external service provider rotates credentials. Updating the API key ensures your agents continue to have access to the external service with the current authentication information.
To update an API key
-
Open the AgentCore Identity
console. -
In the Outbound Auth section, select the API key you want to update.
-
Choose Edit.
-
In the Update API key dialog, in API key, enter the updated key value provided by your external service. AgentCore Identity securely stores this new value and makes it available to your agent at runtime.
-
Choose Update.
The updated API key configuration takes effect immediately. Your agents will use the new API key for all subsequent requests to the external service.