ArmorClaude LogoArmorClaude
Configuration

Configuration

Environment variables, plugin settings, authentication, and managing the plugin

View Source

Configuration

Authentication

ArmorClaude works in local-only mode without any authentication. To enable backend features (audit logs, signed tokens, dashboard), you need an ArmorIQ API key.

The installer prompts "Connect your ArmorIQ account now?" and runs armoriq login. This opens your browser, you authorize, and the key is saved automatically.

Via CLI (anytime after install)

armoriq login     # browser-based SSO, saves key
armoriq whoami    # check current auth
armoriq logout    # clear credentials

Manual

export ARMORIQ_API_KEY=ak_live_...

Or via Claude Code: /plugin then armorclaude then Configure then set api_key.

Key Resolution Order

ArmorClaude checks in this order:

  1. Plugin userConfig (from /plugin Configure)
  2. ARMORIQ_API_KEY environment variable
  3. ~/.armoriq/credentials.json (saved by armoriq login)
  4. No key found: local-only mode

Environment Variables

VariableDefaultDescription
ARMORIQ_API_KEY(none)ArmorIQ API key
ARMORCOWORK_MODEenforceenforce blocks on failure, monitor logs only
ARMORCOWORK_INTENT_REQUIREDtrueRequire intent plan for all tool calls
ARMORCOWORK_VALIDITY_SECONDS300Intent token TTL in seconds
ARMORCOWORK_PLANNING_ENABLEDtrueInject plan directive into Claude's context
ARMORCOWORK_AUDIT_ENABLEDtrueSend audit logs to backend (when key set)
ARMORCOWORK_POLICY_UPDATE_ENABLEDtrueAllow runtime policy updates
ARMORCOWORK_DEBUGfalseShow debug logs in stderr
CSRG_VERIFY_ENABLEDfalseEnable backend CSRG step verification
REQUIRE_CSRG_PROOFSfalseRequire cryptographic proofs

Plugin Settings

Configure via Claude Code: /plugin then armorclaude then Configure

SettingTypeDescription
api_keystring (sensitive)ArmorIQ API key
modestringenforce or monitor
intent_requiredbooleanRequire intent plan for all calls
crypto_policy_enabledbooleanEnable Merkle tree policy binding
use_productionbooleanUse production endpoints

Managing the Plugin

claude plugin list                  # verify installed + enabled
claude plugin disable armorclaude   # turn off temporarily
claude plugin enable armorclaude    # turn back on
claude plugin update armorclaude    # update to latest version
claude plugin uninstall armorclaude # remove completely

Full Uninstall

To remove everything including cached data:

claude plugin uninstall armorclaude
claude plugin marketplace remove armoriq
rm -rf ~/.claude/plugins/cache/armoriq
rm -rf ~/.claude/plugins/data/armorclaude-armoriq
rm -rf ~/.armoriq

Monitor Mode

To observe without blocking (useful for testing):

export ARMORCOWORK_MODE=monitor
claude

Or set mode to monitor in plugin config. All enforcement events are logged but tool calls proceed normally.

Monitor mode should only be used for testing. In production, use enforce mode to actually block unauthorized tool calls.

On this page