CodefaceCloud Accounts

Cloud Accounts

Connecting AWS, Azure, and GCP to Codeface without storing long-lived credentials.

Updated November 20261 min read

Codeface needs a connection to your cloud account for each environment so it can plan, apply, and discover resources.

How Codeface authenticates

Codeface uses short-lived, federated cloud sessions rather than storing access keys. In practice this means you configure a trust relationship once (an IAM role in AWS, an equivalent identity federation setup in Azure or GCP), and Codeface requests a temporary session scoped to that role whenever it needs to act — nothing long-lived is ever stored.

No access keys stored

Because Codeface never stores static credentials, there's nothing standing to rotate, leak, or revoke beyond the trust relationship itself — revoking access is as simple as removing or restricting the role's trust policy.

Connecting an account

Open Settings → Cloud Accounts for the environment you're configuring and follow the wizard for your provider. You'll typically need to:

  1. Create (or confirm) an identity-federation trust relationship in your cloud account, scoped to the environment Codeface is running from
  2. Grant that role the permissions Codeface needs for the actions you want it to perform (plan/apply, or read-only for discovery)
  3. Complete the connection in Codeface and run a test action to confirm it works

Troubleshooting a failed connection

If Codeface reports it can't assume the configured role, check:

  • The trust policy's federated principal matches your deployment's actual identity provider and audience
  • The role's trust policy references the correct provider resource, not just the issuer hostname
  • The environment Codeface is running in actually has an identity token available to present (this depends on your hosting setup)

See Troubleshooting for more on connection errors.

Permissions

Connecting or changing a cloud account requires the credentials permission — Operator role or above on a Business account. See Account Types & Roles.

Previous
State & Backends
Next
Drift Detection