Yandex
Yandex can be configured as an AgentCore Identity credential provider for outbound resource access. This allows your agents to authenticate users through Yandex's OAuth2 service and obtain access tokens for Yandex API resources.
Outbound
Step 1
Use the following procedure to set up a Yandex OAuth2 application and obtain the necessary client credentials for AgentCore Identity.
To configure a Yandex OAuth2 application
-
Open the developer console for Yandex at https://oauth.yandex.com/
. -
Choose Create app.
-
Provide a name for your application.
-
For platforms, select Web services.
-
Choose Save and Continue.
-
Select the permissions necessary for your application and then choose Save and Continue.
-
Configure the following as the redirect URI for the application:
https://bedrock-agentcore.region.amazonaws.com/identities/oauth2/callback -
Choose Save and Continue.
-
Once the client has been created, note the client ID and client secret assigned to your application as you'll need them for configuring the Yandex provider in AgentCore Identity.
For more details, refer to Yandex's
OAuth documentation
Step 2
To configure Yandex as an outbound resource provider, use the following:
{ "name": "Yandex", "credentialProviderVendor": "YandexOauth2", "oauth2ProviderConfigInput" : { "includedOauth2ProviderConfig": { "clientId": "your-client-id", "clientSecret": "your-client-secret" } } }