The problem with credentials
Steps
Write your multi-cloud agent
Use Zero credentials in your code. The platform exchanges your agent’s SPIFFE identity for short-lived cloud tokens automatically.
hexr_tool to request any supported cloud service. The platform handles authentication automatically:multi_cloud_agent.py
Configure cloud providers
Each cloud provider needs a one-time federation setup pointing to
oidc.hexr.cloud. Expand the provider you’re configuring: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 your Helm values:
values.yaml
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 your Helm values:
values.yaml
Azure
Azure
- Create an App Registration with Federated Identity Credentials
- Set the issuer to
oidc.hexr.cloud - Configure in your Helm values:
values.yaml
Build with multi-cloud flag
Pass the
--multi-cloud flag to declare which providers your agent needs:How it works
Agent requests an AWS tool
Your agent calls
hexr_tool("aws_s3"). The request is intercepted by the Envoy sidecar and routed to the Credential Injector.SPIFFE → AWS credential exchange
The Credential Injector calls AWS
AssumeRoleWithWebIdentity using the agent’s JWT-SVID. AWS returns temporary credentials with a 15-minute TTL.Agent requests a GCP tool
Your agent calls
hexr_tool("gcp_bigquery"). The same flow runs through Envoy to the Credential Injector.Credential flow
Per-role cloud access in multi-agent frameworks
In a CrewAI crew, each role can have different cloud permissions — all enforced by OPA policies, with no code changes:crewai_scoped_access.py
Next steps
Secure secrets
Store API keys and other secrets with SPIFFE-scoped access control.
Multi-framework agents
Use CrewAI or LangChain with per-role cloud permissions.
LLM observability
Track LLM costs alongside your cloud tool usage in a single dashboard.
SDK reference
Full reference for
hexr_tool and supported cloud services.