Prerequisites
Complete the shared prerequisites. You need an AWS administrator who can create an IAM OIDC provider and role, and an HTTPS issuer whose discovery document and public signing keys AWS can retrieve. This integration gives agents AWS credentials. It is separate from S3 object storage and does not require deploying Tembo on AWS.1. Configure the issuer
Provision an RSA private key for signing OIDC tokens and store its PEM value inoidc.privateKey in /var/lib/tembo/config.json. Set oidc.keyId to an identifier for that signing key. Keep the private key secret; only the public JWKS should be exposed.
oidc.issuer defaults to api.base without a trailing slash. For the standard deployment in this guide, use https://tembo.example.com/api. If you override it, ensure the advertised issuer, discovery location, and JWKS URL agree with the endpoints your deployment serves.
Follow the restart instructions, then verify the issuer’s /.well-known/openid-configuration and the jwks_uri it advertises are reachable by AWS and return a public signing key.
2. Create the AWS trust relationship
Use the manual setup in the AWS guide, replacing the hosted issuer with your own throughout:- Register your issuer URL as the IAM OIDC provider and use
sts.amazonaws.comas its audience. - In the role’s federated principal, use your account’s OIDC provider ARN.
- In the trust-policy condition keys, use your issuer without
https://, retaining any path. For this example, the keys aretembo.example.com/api:audandtembo.example.com/api:sub. - Set the audience condition to
sts.amazonaws.comand the subject condition toorg:followed by your full Tembo workspace ID. - Attach only the AWS permissions the agent’s tasks require.
internal.tembo.io issuer or an unmodified hosted CloudFormation template. The optional aws.oidcTemplateUrl configuration is for a connection template appropriate to your deployment.