Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Granted

$ assume Official Med Risk
Common Fate · Cloud & Infra · MIT · macos / linux / windows

Common Fate's Granted (assume) streamlines switching across AWS SSO and IAM roles, opening isolated browser containers per account (assume -c) and injecting credentials into commands via assume <profile> --exec or .env export (--env).

FCRS-1.0 Score
72 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install common-fate/granted/granted
CLI vs MCP Decision CLI Only

assume runs locally to populate AWS STS env vars or open browser containers; credential switching is a local shell concern, not an MCP capability.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 15 / 25

Relies on a shell source alias wrapper for interactive terminals and lacks JSON output; agents must set FORCE_NO_ALIAS=true and use --exec.

  • Requires FORCE_NO_ALIAS=true and --exec to work cleanly in subshells
  • No --json output mode; designed around interactive shell & browser UX
Trust & Safety 19 / 25

Uses OS keychain for SSO caches and --exec keeps STS tokens scoped to one child process, though --env writes plaintext secrets to .env.

  • --exec scopes credentials to a single subprocess
  • --env / --export write temporary secrets to local files
Setup & Portability 12 / 15

Distributed via Homebrew tap (common-fate/granted/granted) and binaries, but requires shell alias integration for standard interactive assume usage.

  • Requires alias assume="source assume" for interactive shell export
Utility & Efficiency 11 / 15

Great developer UX for multi-account AWS console tabs and SSO role switching, though less necessary for headless agents using aws --profile directly.

  • Excels at multi-account Firefox/Chrome container sessions (assume -c)
Maintenance & Lineage 8 / 10

MIT-licensed Go project maintained by Common Fate (common-fate/granted / fwdcloudsec/granted).

  • MIT-licensed open-source repository
Docs & Verifiability 7 / 10

Clear docs at docs.commonfate.io, though scripting flags like FORCE_NO_ALIAS=true are less prominent.

  • Official Granted documentation site

Security, Auth & Guardrails

Auth Modes
OAuth Browser Config File OS Keychain
Credential Storage

Reads ~/.aws/config profiles and caches SSO/STS credentials in OS keychain or encrypted ~/.granted/ store.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI; free to use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Granted (assume) Agent Rules
- Always set `FORCE_NO_ALIAS=true` and `GRANTED_QUIET=true` and prefer `--exec` over bare `assume <profile>` in non-interactive shells.
- Never pass `--env` into a git-tracked directory without confirming `.env` is gitignored.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run a read-only AWS command with an assumed profile via --exec
FORCE_NO_ALIAS=true GRANTED_QUIET=true assume my-readonly-profile --exec "aws sts get-caller-identity --output json"

Bypasses the interactive shell-alias check and runs a single command with scoped STS credentials.

Controlled Writes & Previews

Export temporary credentials to ~/.aws/credentials
FORCE_NO_ALIAS=true assume my-profile --export

Writes short-lived STS credentials for the assumed profile into ~/.aws/credentials.

Strengths for Agents

  • + assume <profile> --exec injects temporary STS creds into a single subprocess cleanly.
  • + GRANTED_QUIET=true and FORCE_NO_ALIAS=true enable headless CI/agent invocation.
  • + Caches SSO tokens securely in the OS keychain.

Caveats & Pitfalls

  • ! Interactive shell-alias design causes bare assume <profile> to prompt for alias setup in clean subshells unless FORCE_NO_ALIAS=true is set.
  • ! No JSON output; expired SSO sessions still require interactive browser login.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI