Locate your agent credentials
- Log in to the .
- In the left navigation, click . Then, select Agents from the menu.
- Select an agent. If you haven’t created one yet, read Create an agent.
- In Agent details, scroll down to Credentials.
- Click Reveal credentials.
- Note the revealed client_id and client_secret.
Add your credentials to AWS Secrets Manager
- Log in to the AWS Console.
- Once logged in, type “Secrets Manager” in the search bar and click Secrets Manager.
- Click Store a new secret.
- Choose the tile labelled Other type of secret.
-
Add two key:value pairs:
- client_id: The value of the client ID located as described above.
- client_secret: The value of the client secret located as described above.
- Click Next.
- Name the secret and provide a secret description. Click Next.
- Click Next again unless you wish to configure rotation settings.
- Review the secret and click Store. You’ll return to Secrets. Refresh the page.
Retrieve the ARN of your new secret
- While in the Secrets dashboard of AWS Secrets Manager, click the name of your new secret.
- In the Secret details container, copy the Secret ARN and save this value for later to reference it in the task definition.

