Sign In

authshore

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authshore

AuthShore CLI - auth infrastructure for coding agents. User pools, secrets vault, token management. As easy as git.

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
59
15.69%
Maintainers
1
Weekly downloads
 
Created
Source

AuthShore CLI

Auth infrastructure for coding agents. User pools, secrets vault, token management. As easy as git.

npm install -g authshore

See It In Action

Real terminal sessions against the live API — click a GIF for the full video.

Zero to auth in 60sSecrets vaultTokens & pools
Zero to auth in 60sSecrets vaultTokens & pools

More demos: authshore.ai/#demo

Quick Start

# 1. Create a project
as signup my-project --email you@example.com --local

# 2. Create a user pool
as pool create main

# 3. Store a secret
as secret set DATABASE_URL "postgres://user:pass@host:5432/db"

# 4. Authenticate a user in your pool
as pool auth signup main --email user@example.com --password SecurePass123!

Commands

Setup

as signup <slug> [--email E] [--local]   # Create project + get API key
as login --key <key> [--local]           # Store API key
as logout                                # Clear stored key
as me                                    # Show project info
as config                                # Show current config

User Pools

as pool create <name>                    # Create user pool
as pool list                             # List pools
as pool show <id>                        # Pool details
as pool delete <id>                      # Delete pool
as pool users <id>                       # List pool users
as pool user add <id> --email E --password P
as pool auth signup <id> --email E --password P
as pool auth signin <id> --email E --password P

Secrets Vault

as secret set <key> <value> [--env E]    # Store encrypted secret
as secret get <key>                      # Read secret (decrypted)
as secret list                           # List all secrets
as secret delete <key>                   # Delete secret
as secret versions <key>                 # List versions

Tokens

as token validate <jwt>                  # Validate JWT
as token refresh <refresh-token>         # Refresh token pair
as token revoke <token>                  # Revoke token

Status

as status                                # Health check

Flags

--json          # Output raw JSON (for programmatic parsing)
--key <key>     # Override API key for this call
--url <url>     # Override base URL
--local         # Save config to .authshore/ (project) instead of ~/.authshore/ (global)

Config

API key is resolved in this order (highest priority first):

  • --key flag
  • AUTHSHORE_API_KEY environment variable
  • ./.authshore/config.json (project-local)
  • ~/.authshore/config.json (global)

Agent Integration

Add to your agent's rules file:

CLAUDE.md / .cursorrules / .clinerules / .windsurfrules:

## Auth
Use the `as` CLI for auth infrastructure.
Config is in .authshore/config.json (auto-loaded).
Run `as help` for full reference.

License

Proprietary — Tyga.Cloud Ltd (UK #14643275). See LICENSE file.

Keywords

mcp

FAQs

Package last updated on 31 Jul 2026

Related posts