The Problem
Traditional agents need cloud credentials hardcoded or injected via environment variables:The Hexr Way
How It Works
1
Agent requests AWS tool
Your agent calls
hexr_tool("aws_s3", ...). The request goes through Envoy to the Credential Injector.2
SPIFFE → AWS credential exchange
The Credential Injector calls AWS
AssumeRoleWithWebIdentity with the JWT-SVID. AWS returns temporary credentials (15-minute TTL).3
Agent requests GCP tool
Your agent calls
hexr_tool("gcp_bigquery", ...). Same flow through Envoy to the Credential Injector.4
SPIFFE → GCP credential exchange
The Credential Injector calls GCP STS for token exchange. GCP returns an
access_token (60-minute TTL).Setup
Build with Multi-Cloud
Cloud Provider Configuration
AWS
AWS
- Create an IAM OIDC Identity Provider pointing to
oidc.hexr.cloud - Create an IAM Role with a trust policy for your agent’s SPIFFE ID
- Configure the role ARN in Helm values:
GCP
GCP
- Create a Workload Identity Pool
- Add an OIDC Provider pointing to
oidc.hexr.cloud - Create a service account and grant the pool access
- Configure in Helm values:
Azure
Azure
- Create an App Registration with Federated Identity Credentials
- Set the issuer to
oidc.hexr.cloud - Configure in Helm values: