JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 678
  • Score
    100M100P100Q111422F
  • License MIT

Unified SSO credential manager for AWS, GCP, and more — npm distribution of the glrs-assume Rust binary.

Package Exports

  • @glrs-dev/assume
  • @glrs-dev/assume/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@glrs-dev/assume) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@glrs-dev/assume

SSO credential manager for AWS and GCP. Rust binary.

Docs: glrs.dev/assume

Install

glrs assume init

Installs the latest binary (clearing the deprecated @glorious/assume), migrates any legacy gs-assume config forward, logs you in, approves agent contexts, has you pick a default context, and offers to wire shell integration into your rc file. Re-run any time to repair a broken install. Until init completes, gsa is inert — every command except init, upgrade, shell-init, status, and config refuses.

Or standalone: bun add -g @glrs-dev/assume (then gsa init). The package targets Bun (engines.bun); glrs assume also accepts npm/pnpm/yarn.

Usage

gsa init                     # one-time setup (required first — see Install)
aws s3 ls                    # credentials served locally (default context)
gsa use aws dev              # switch this shell to another context (fuzzy match)
gsa status                   # token expiry, daemon health
gsa contexts                 # list available contexts

Shell integration

gsa use and gsa login set credentials for the current shell, so they need a wrapper in your rc file (it evals the context into the live shell and adds a prompt tag). gsa init offers to install it; to (re)install non-interactively:

gsa shell-init --install        # detects your shell from $SHELL
gsa shell-init --install zsh     # or name it explicitly (bash, zsh, fish)

This appends a guarded # >>> glrs-assume >>> block to ~/.zshrc, ~/.bashrc, or ~/.config/fish/config.fish. It's idempotent — re-running leaves an already-installed rc untouched. Restart your shell (or source the rc) to pick it up. gsa status flags when integration is missing.

Agent integration

gsa agent allow              # approve contexts for agents
gsa agent mcp                # start MCP server

License

MIT