Concepts

Credentials and scope

A key per allowed call, minted by your connector in your cloud, and exactly what each can do.

The model#

An agent connected through an MCP server holds no cloud credentials. When a call is allowed, your connector, running in your cloud, mints a key for that one call with its own identity, runs the call and reports the outcome. The agent never sees the key, and neither does Tracehold: Tracehold's cloud holds no access to your cloud.

  • Issued only on ALLOW (including an approved action, when the agent gets the answer or repeats the call). Nothing is issued on BLOCK, while awaiting approval, or for a call monitor mode only recorded.
  • Short-lived: on AWS and Google Cloud, 15 minutes; Azure decides its own token lifetime (usually about an hour). Either way the connector uses it for the one call and never passes it on.
  • Recorded, not stored: Audit → One-call keys lists each key's scope, real expiry and the action it was minted for. The key itself never leaves your cloud.

What a credential can do, per cloud#

This differs by cloud, and it matters: a policy decision is only as strong as the credential that enforces it.

CloudMechanismA credential for an approved action can do
AWSsts:AssumeRole with an inline session policy (and, for an agent signed in as a person, that person as the session's source identity)Only the approved action. The policy names that one IAM action (for example s3:DeleteObject); AWS intersects it with the role's permissions. Resource is *, so the limit is the action, not a specific bucket.
Google CloudActing as your service account, with the OAuth scope of the action's APIA permission family, within the service account's role. OAuth scopes are coarse: the scope that permits instances.delete also permits create, start and stop.
AzureA token for the connector's own identity, for one API (Resource Manager, Storage, Key Vault)Whatever the connector's role allows on that API. Azure tokens cannot be limited to one operation, so choose the role accordingly (Reader for read only).
Kubernetes, GitHub, Terraform, Cloudflare, DatadogNoneNothing is issued: Tracehold's own tools for these are observe only. Their official MCP servers can run through your connector with their own credentials (your MCP servers).

The app shows the same information under Connectors.

Every action runs through the cloud's own API definitions: boto3 for AWS, Google's API discovery documents for Google Cloud, and Azure's REST paths (with their API versions) for Azure. The tool schemas agents see come from the same definitions. Google Cloud and Azure have been tested against those definitions with simulated responses, not yet against a live project or subscription.

How AWS permissions are derived#

The IAM action is derived from the approved action identifier: aws:s3:DeleteObject becomes s3:DeleteObject. A short list of overrides covers APIs whose IAM names differ (for example ListObjects needs s3:ListBucket) or that need a companion permission (RunInstances also needs ec2:CreateTags). Read-only families such as ec2:Describe* use a wildcard deliberately; mutating actions never do.

If a derived name is ever wrong, AWS returns AccessDenied: the credential fails closed, it never grants more than the approved action.

The ExternalId#

Your role's trust policy requires sts:ExternalId equal to your Tracehold organization ID, and the connector sends it on every AssumeRole: the standard protection against a confused deputy.

Revocation#

AWS STS sessions cannot be invalidated before they expire, and the key never reaches Tracehold, so there is nothing to revoke from here. Each key is used for its one call and expires on its own (15 minutes by default; Azure's token, about an hour). For an incident, stop agents at the source: stop a person's agents (Agent identity), pause the MCP server, stop the connector, or attach a deny-all policy to the role.

Connecting a cloud#

Each organization's connector finds the accounts it acts in by itself (Connectors shows them). Every setup names the organization's connector, an account is recorded only after the connector has used it once, and each new account is written to the audit chain. Nothing is pasted into Tracehold, and nothing secret is stored.

  • AWS (guide): a role that trusts your connector's AWS identity, with your organization ID as the external ID.
  • Google Cloud (guide): a service account your connector's Google identity may act as. Its description names your organization, which the test checks. No keys.
  • Azure (guide): your connector's identity gets a role on the subscription. No app registration, no secret.

Until a cloud is connected (and a connector with an identity there is online), allowed actions on it are recorded but not run, and the agent is told why.