Skip to main content

The Problem

Traditional agents need cloud credentials hardcoded or injected via environment variables:

The Hexr Way

Zero credentials in your code. The platform exchanges your agent’s SPIFFE identity for short-lived cloud tokens automatically.

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

  1. Create an IAM OIDC Identity Provider pointing to oidc.hexr.cloud
  2. Create an IAM Role with a trust policy for your agent’s SPIFFE ID
  3. Configure the role ARN in Helm values:
  1. Create a Workload Identity Pool
  2. Add an OIDC Provider pointing to oidc.hexr.cloud
  3. Create a service account and grant the pool access
  4. Configure in Helm values:
  1. Create an App Registration with Federated Identity Credentials
  2. Set the issuer to oidc.hexr.cloud
  3. Configure in Helm values:

Per-Process Cloud Access

In a CrewAI crew, each role can have different cloud permissions: