Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.capy.sc/llms.txt

Use this file to discover all available pages before exploring further.

Synopsis

capy redeem <code>

Description

Accepts a one-time code produced by capy invite. Authenticates you (if you aren’t already logged in), verifies your identity matches the invite, strips the outer wrap via the service, and strips the inner wrap locally using the invite token baked into the code. If the authenticated email doesn’t match the one the inviter targeted, decryption fails cryptographically - not by policy. On success, Capy:
  1. Switches the active org to the one you just joined.
  2. Writes the org’s master key to ~/.capy/orgs/{orgId}/users/{userId}/key.enc, double-wrapped for local storage.
  3. Records the org as the default for future commands.

Example

$ capy redeem CAPY-INV-k3n4...ZxYw
 Signed in as alice@example.com
 Joined organization "Acme Corp"

Next: cd into a project that uses Acme Corp, then run `capy` to sync.

See also