CLI: Accounts, projects and access
Sign in, pick the organization and project commands act on, manage team members, roles, app users, auth settings, SCIM provisioning, blocking auth hooks and API keys with sov.
sov login
sov orgs
sov projects <org-id>
sov scope pick
sov whoami#sov context
Context and identity commands
sov context whoami
Print the authenticated user, active scope, and accessible orgs/projects.
sov context whoami [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov context list
List organisations and projects you can use with the CLI.
sov context list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov context orgs
List organisations visible to the authenticated user.
sov context orgs [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov context projects
List projects under an organisation.
sov context projects [OPTIONS] [ORG_ID]Arguments and options
ORG_IDtextoptional- Organisation ID (auto-picked when only one org)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov context pick
Interactively pick default org/project scope by index.
sov context pick [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov context context
Show access roles the current user has on a specific resource.
sov context context [OPTIONS] RESOURCE_IDArguments and options
RESOURCE_IDtextrequired- Node ID of the resource (ORG / PROJECT / ENV)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov scope
Manage default org/project/env scope
sov scope show
Show currently configured default scope.
sov scope show [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov scope set
Persist default scope for future CLI calls.
sov scope set [OPTIONS] ORG_ID PROJECT_IDArguments and options
ORG_IDtextrequired- Organization UUID
PROJECT_IDtextrequired- Project UUID
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov scope clear
Clear default scope for the active profile.
sov scope clear [OPTIONS]Arguments and options
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov scope list
List organisations and projects available to your account.
sov scope list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov scope pick
Pick default org/project interactively by index.
sov scope pick [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov org
Organisation management
sov org create
Create a new organisation (or PROJECT/ENV) node in the identity graph.
sov org create [OPTIONS] NAMEExample: sov org create "Skolist" sov org create "Payments" --type PROJECT --metadata '{"env": "prod"}'
Arguments and options
NAMEtextrequired- Human-readable organisation name
--type / -ttextoptionaldefaultORG- Node type: ORG | PROJECT | ENV
--metadata / -mtextoptional- Extra metadata as a JSON string, e.g. '{"industry": "fintech"}'
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov org member-add
Add a user as a member of an organisation (creates a MEMBER_OF edge).
sov org member-add [OPTIONS] ORG_ID USER_IDExample: sov org member-add <org_id> <user_id> sov org member-add <org_id> <user_id> --role ADMIN
Arguments and options
ORG_IDtextrequired- UUID of the ORG/PROJECT node
USER_IDtextrequired- UUID of the USER node to add
--role / -rtextoptionaldefaultMEMBER- Role to assign: ADMIN | MEMBER | VIEWER (default: MEMBER)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov org key status
The key, whether it works and what it covers.
sov org key status [OPTIONS]Arguments and options
--policyflagoptional- Print the key policy statement to add in AWS
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov org key set
Use your AWS KMS key for storage files and backups (add the key policy statement first: --policy on status).
sov org key set [OPTIONS] KEY_ARNArguments and options
KEY_ARNtextrequired- arn:aws:kms:<region>:<account>:key/<key id>
--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov org key rotate
A new data key version under the same KMS key (older versions keep decrypting old backups).
sov org key rotate [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov org key check
Ask your KMS now whether Sovaria can still use the key; exit 1 if it can't.
sov org key check [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov org key reencrypt
Rewrite the organization's existing storage files under its key (runs in the background).
sov org key reencrypt [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov iam
Organisations, members, and project settings
sov iam orgs
List organisations visible to the authenticated user.
sov iam orgs [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam org
Fetch one organisation by ID.
sov iam org [OPTIONS] ORG_IDArguments and options
ORG_IDtextrequired- Organisation node ID
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam projects
List child projects under an organisation.
sov iam projects [OPTIONS] [ORG_ID]Arguments and options
ORG_IDtextoptional- Parent organisation ID (defaults to scoped org)
--relationtextoptionaldefaultOWNS- Edge relation filter
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam members
List organisation members.
sov iam members [OPTIONS] [ORG_ID]Arguments and options
ORG_IDtextoptional- Organisation ID (defaults to scoped org)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam member-add
Add a member to an organisation.
sov iam member-add [OPTIONS] ORG_ID USER_IDArguments and options
ORG_IDtextrequired- Organisation ID
USER_IDtextrequired- User node ID
--roletextoptionaldefaultMEMBER
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam settings-get
Fetch project settings for the linked scope.
sov iam settings-get [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam settings-set
Update project settings (keys you pass are merged; the rest stay as they are).
sov iam settings-set [OPTIONS] SETTINGS_JSONExample: sov iam settings-set '{"apiRateLimitPerUserPerMinute": 120}' Per-resource rate limits (paid plans): sov iam settings-set '{"resourceRateLimits": [{"resource": "table:orders", "perMinute": 100, "scope": "user"}]}' — resource is table:<name>, collection:<name> or fn:<name>; scope is project, user or ip.
Arguments and options
SETTINGS_JSONtextrequired- JSON object of project settings
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam org-update
Update organisation name and/or admin settings.
sov iam org-update [OPTIONS] ORG_IDArguments and options
ORG_IDtextrequired- Organisation node ID
--nametextoptional--settingstextoptional- JSON settings object
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam org-delete
Delete an organisation (async teardown).
sov iam org-delete [OPTIONS] ORG_IDArguments and options
ORG_IDtextrequired- Organisation node ID
--yes / -yflagoptional- Skip confirmation
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam org-set-plan
Set an organisation billing plan.
sov iam org-set-plan [OPTIONS] ORG_IDArguments and options
ORG_IDtextrequired- Organisation node ID
--plantextrequired- free | pro | ultra | team | enterprise
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam member-remove
Remove a member from an organisation.
sov iam member-remove [OPTIONS] ORG_ID USER_IDArguments and options
ORG_IDtextrequired- Organisation ID
USER_IDtextrequired- User node ID
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam member-update
Update a member's organisation role.
sov iam member-update [OPTIONS] ORG_ID USER_IDArguments and options
ORG_IDtextrequired- Organisation ID
USER_IDtextrequired- User node ID
--roletextrequired
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam invite-create
Create or refresh an organisation invite.
sov iam invite-create [OPTIONS] ORG_IDArguments and options
ORG_IDtextrequired- Organisation ID
--emailtextrequired--roletextrequired
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam invite-accept
Accept an organisation invite.
sov iam invite-accept [OPTIONS] TOKENArguments and options
TOKENtextrequired- Invite token
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam edge-create
Create a directed edge in the identity graph.
sov iam edge-create [OPTIONS]Arguments and options
--sourcetextrequired--targettextrequired--relationtextrequired- OWNS | MEMBER_OF | HAS_ENV
--roletextoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam roles-catalog
Fetch the project roles catalog.
sov iam roles-catalog [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam project-ref
Fetch the public project ref slug.
sov iam project-ref [OPTIONS] PROJECT_IDArguments and options
PROJECT_IDtextrequired- Project node ID
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam roles-matrix get
Fetch the project role permission matrix.
sov iam roles-matrix get [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam roles-matrix set
Replace the project role permission matrix.
sov iam roles-matrix set [OPTIONS] MATRIX_JSONArguments and options
MATRIX_JSONtextrequired- JSON role matrix object
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam roles-matrix add
Add an app role (row rules test it with auth.has_role('manager')), keeping every other role.
sov iam roles-matrix add [OPTIONS] NAMEArguments and options
NAMEtextrequired- Role name, e.g. MANAGER (letters, digits, - and _)
--permtextoptional- Permission to grant (repeatable), e.g. --perm read
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov iam roles-matrix remove
Remove one app role, keeping the others.
sov iam roles-matrix remove [OPTIONS] NAMEArguments and options
NAMEtextrequired- Role to remove (users holding it lose it)
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov auth
Authentication commands
sov auth login
Authenticate with Sovaria.
sov auth login [OPTIONS]By default opens a browser (PKCE flow). Pass --email to use password login (prompt or SOVARIA_PASSWORD).
Arguments and options
--email / -etextoptional- Email (skips PKCE, uses password)
--pick-scope / --no-pick-scopeflagoptional- After login, list orgs/projects and pick default scope (default: on in a TTY)
--insecure-callbackflagoptional- Allow SOVARIA_CLI_CALLBACK_HOST to bind a non-loopback interface
--file-storageflagoptional- Store tokens in ~/.sovaria/credentials.toml instead of the OS keyring
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth logout
Revoke the session for one profile, then clear that profile's local credentials.
sov auth logout [OPTIONS]Arguments and options
--forceflagoptional- Clear local tokens even if server revoke fails
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth mfa-verify
Complete MFA after login when the gateway returned mfa_required=true.
sov auth mfa-verify [OPTIONS]Arguments and options
--code / -ctextrequired- 6-digit TOTP or backup code
--methodtextoptionaldefaulttotp- Verification method: totp or phone
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth sessions
List active login sessions for the current user.
sov auth sessions [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth sessions-revoke
Revoke one active session.
sov auth sessions-revoke [OPTIONS] SESSION_IDArguments and options
SESSION_IDtextrequired- Session id (refresh token JTI)
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth sessions-revoke-others
Revoke all sessions except the current one.
sov auth sessions-revoke-others [OPTIONS]Arguments and options
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth mfa-status
Show MFA enrollment status for the current user.
sov auth mfa-status [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth mfa-enroll
Start TOTP MFA enrollment (shows secret, URI, and backup codes once).
sov auth mfa-enroll [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth mfa-disable
Disable MFA (requires current TOTP code).
sov auth mfa-disable [OPTIONS]Arguments and options
--code / -ctextrequired- Current TOTP code to confirm disable
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth project-login
Authenticate against the strict project login lane.
sov auth project-login [OPTIONS]Arguments and options
--email / -etextrequired--file-storageflagoptional- Store tokens in ~/.sovaria/credentials.toml instead of the OS keyring
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth magic-link send
Send a magic-link sign-in email.
sov auth magic-link send [OPTIONS]Arguments and options
--emailtextrequired
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth magic-link verify
Exchange a magic-link token for a session.
sov auth magic-link verify [OPTIONS]Read the token from stdin or SOVARIA_MAGIC_TOKEN (never a CLI flag).
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth verify-email send
Send a verification email to the authenticated user.
sov auth verify-email send [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth verify-email confirm
Confirm an email address using a verification token.
sov auth verify-email confirm [OPTIONS]Read the token from stdin or SOVARIA_VERIFY_EMAIL_TOKEN (never a CLI flag).
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth sessions-config get
Fetch the authenticated user's session policy.
sov auth sessions-config get [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth sessions-config set
Update the authenticated user's session policy.
sov auth sessions-config set [OPTIONS] CONFIG_JSONArguments and options
CONFIG_JSONtextrequired- JSON session policy patch
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth providers-config get
Fetch auth provider runtime configuration (project team members).
sov auth providers-config get [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth providers-config set
Update auth provider toggles and external database link configuration (owners and admins).
sov auth providers-config set [OPTIONS] CONFIG_JSONArguments and options
CONFIG_JSONtextrequired- JSON provider config patch
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth event-hooks list
List auth event hooks for the active project (owners and admins only).
sov auth event-hooks list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth event-hooks create
Create an auth event hook subscription (owners and admins of the project only).
sov auth event-hooks create [OPTIONS]Arguments and options
--nametextrequired--urltextrequired--eventtextrequired- Repeat for each event type
--secrettextoptional--enabled / --disabledflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth event-hooks delete
Delete an auth event hook (owners and admins only).
sov auth event-hooks delete [OPTIONS] HOOK_IDArguments and options
HOOK_IDtextrequired- Auth event hook ID
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth github-state get
Fetch GitHub OAuth connection state.
sov auth github-state get [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth github-state disconnect
Disconnect GitHub OAuth broker state.
sov auth github-state disconnect [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth passkeys list
List passkeys registered for the current user.
sov auth passkeys list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth passkeys revoke
Revoke a registered passkey.
sov auth passkeys revoke [OPTIONS] PASSKEY_IDArguments and options
PASSKEY_IDtextrequired- Passkey UUID
--yes / -yflagoptional- Skip confirmation prompt
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth passkeys register-hint
Explain how to register a passkey (browser WebAuthn required).
sov auth oidc list
List OIDC providers configured for the linked project.
sov auth oidc list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth oidc create
Register an OIDC provider for the linked project.
sov auth oidc create [OPTIONS] CONFIGArguments and options
CONFIGtextrequired- JSON provider config or path starting with @file.json
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth oidc example
Print a starter OIDC provider config (Google-style example).
sov auth oidc example [OPTIONS]Arguments and options
--savepathoptional- Write example JSON to this path
sov auth oidc delete
Remove an OIDC provider.
sov auth oidc delete [OPTIONS] PROVIDER_IDArguments and options
PROVIDER_IDtextrequired- Provider UUID
--yes / -yflagoptional- Skip confirmation prompt
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth oidc login-url
Get the OIDC authorization URL to start SSO in a browser.
sov auth oidc login-url [OPTIONS] PROVIDER_IDArguments and options
PROVIDER_IDtextrequired- Provider UUID
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov auth-product
Product auth admin commands
sov auth-product users
One page of app users (newest first).
sov auth-product users [OPTIONS]Search and status filter on the server.
Arguments and options
--search / -stextoptional- Part of an email, or an exact user id
--statustextoptional- active or banned
--limitint rangeoptionaldefault50--cursortextoptional- next_cursor from the previous page
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product ban
Toggle a product user's active state in scope.
sov auth-product ban [OPTIONS] USER_IDArguments and options
USER_IDtextrequired- Product user id to ban/unban
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product delete
Delete a product user credential in scope.
sov auth-product delete [OPTIONS] USER_IDArguments and options
USER_IDtextrequired- Product user id to delete
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product roles
Show a product user's app roles in scope.
sov auth-product roles [OPTIONS] USER_IDArguments and options
USER_IDtextrequired- Product user id
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product roles-set
Replace a product user's app roles in scope.
sov auth-product roles-set [OPTIONS] USER_ID ROLESArguments and options
USER_IDtextrequired- Product user id
ROLEStextrequired- Roles to assign
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product roles-add
Give a product user roles.
sov auth-product roles-add [OPTIONS] USER_ID ROLESThey apply to the user's requests within 20 seconds (usually at once); the user stays signed in.
Arguments and options
USER_IDtextrequired- Product user id
ROLEStextrequired- Roles to give (the user keeps the ones they have)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product roles-remove
Take roles away from a product user.
sov auth-product roles-remove [OPTIONS] USER_ID ROLESThe change applies to their requests within 20 seconds (usually at once), even on the token they already have.
Arguments and options
USER_IDtextrequired- Product user id
ROLEStextrequired- Roles to take away
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product update
Set an app user's app_metadata, user_metadata, custom claims or email_verified (null in JSON removes a key).
sov auth-product update [OPTIONS] USER_IDArguments and options
USER_IDtextrequired- The app user's id
--app-metadatatextoptional- JSON object, e.g. '{"tier": "gold"}'
--user-metadatatextoptional- JSON object
--claimstextoptional- Custom claims (JSON object) in every token
--email-verified / --email-unverifiedflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product create
Create a product user in the current project scope.
sov auth-product create [OPTIONS]Arguments and options
--emailtextrequired--nametextoptional- Display name (defaults to email local-part)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product link
The link a sign-in, recovery, invite or signup email would carry, printed instead of sent (supabase's auth.admin.generateLink).
sov auth-product link [OPTIONS]Org owners and admins only; audited and limited to 60 an hour.
The link signs that user in (or confirms their address): treat the output as a secret.
Arguments and options
--emailtextrequired--typetextoptionaldefaultmagiclink- magiclink (sign in), recovery (set a new password), invite (creates a passwordless user) or signup (creates a password user with an unconfirmed address; password from the prompt or SOVARIA_USER_PASSWORD)
--redirect-totextoptional- Where the link lands (must be allowed)
--datatextoptional- invite/signup: the new user's user_metadata as JSON
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-product export
Every app user to a JSON or CSV file, like firebase auth:export (all pages, newest first).
sov auth-product export [OPTIONS] OUTPUTProfile fields only: password hashes, tokens and MFA secrets never leave the server. To move users with their passwords between projects, use sov import from the source system.
Arguments and options
OUTPUTtextrequired- File to write (.json or .csv), or - for stdout
--formattextoptional- json or csv (default: from the file extension, else json)
--statustextoptional- Only active or banned users
--page-sizeint rangeoptionaldefault500
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov auth-config
Project Authentication settings
sov auth-config get
The project's Authentication settings (and which plan-gated ones the plan includes).
sov auth-config get [OPTIONS]Arguments and options
--sectiontextoptional- Only this section
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-config set
Change fields of one section, e.g.
sov auth-config set [OPTIONS] SECTION VALUESsov auth-config set sms blockedCallingCodes='["+882"]'.
Arguments and options
SECTIONtextrequired- sessions, urls, rateLimits, mfa, attack, passkeys, anonymous, sms, mobile
VALUEStextrequired- key=value pairs (JSON values)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov auth-keys
Project JWT signing keys (standby, rotate, revoke)
sov auth-keys list
Signing keys: kid, status (standby, active, retired, revoked) and public JWK.
sov auth-keys list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-keys standby
Publish the next key in the JWKS now (rotate once verifiers' caches have it).
sov auth-keys standby [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-keys rotate
New tokens are signed with the standby (or a new) key; the old one verifies for 24 hours.
sov auth-keys rotate [OPTIONS]Arguments and options
--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-keys revoke
Remove a standby or retired key from the JWKS now: tokens it signed stop verifying.
sov auth-keys revoke [OPTIONS] KIDArguments and options
KIDtextrequired--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov auth-third-party
Accept Firebase/Auth0/Clerk/Cognito/OIDC tokens
sov auth-third-party list
sov auth-third-party list.
sov auth-third-party list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-third-party add
Trust an issuer; the app then calls signInWithThirdPartyToken(token).
sov auth-third-party add [OPTIONS] KINDArguments and options
KINDtextrequired- firebase, auth0, clerk, cognito, workos or oidc
--firebase-project-idtextoptional--domaintextoptional- auth0 / clerk / workos domain
--regiontextoptional- cognito
--user-pool-idtextoptional- cognito
--issuertextoptional- oidc
--jwks-urltextoptional- oidc
--audiencetextoptional- Accepted aud (repeat)
--role-claimtextoptionaldefaultrole
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-third-party remove
sov auth-third-party remove.
sov auth-third-party remove [OPTIONS] PROVIDER_IDArguments and options
PROVIDER_IDtextrequired--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov auth-orgs
Your app users' organizations
sov auth-orgs list
Organizations, member counts and the plan limit (auth.tenant_orgs).
sov auth-orgs list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-orgs delete
sov auth-orgs delete.
sov auth-orgs delete [OPTIONS] APP_ORG_IDArguments and options
APP_ORG_IDtextrequired--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov sms
SMS provider and country rules for auth texts
sov sms provider
Pick the project's SMS provider (the secret is read from stdin, never an argument).
sov sms provider [OPTIONS] PROVIDERArguments and options
PROVIDERtextrequired- twilio, msg91, vonage, messagebird, custom or log
--sendertextoptional- From number / sender ID / originator
--account-sidtextoptional- Twilio SID or Vonage API key
--template-idtextoptional- MSG91 DLT flow template
--templatetextoptional- Text with {{ code }}
--auth-token-stdinflagoptional- Read the secret from stdin
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov sms countries
Where auth texts may go (stops SMS pumping), e.g.
sov sms countries [OPTIONS]--allow +91 or --block +882 --block +881.
Arguments and options
--allowtextoptional- Only these calling codes (repeat)
--blocktextoptional- Never these calling codes (repeat)
--clearflagoptional- Remove both lists
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov attest
App attestation: mode, services, reCAPTCHA, debug tokens
sov attest show
sov attest show.
sov attest show [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov attest mode
Go monitor first; enforce refuses every request (sign-in included) from unattested builds.
sov attest mode [OPTIONS] MODEArguments and options
MODEtextrequired- off, monitor or enforce
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov attest services
Which traffic enforce/monitor covers.
sov attest services [OPTIONS] VALUESArguments and options
VALUEStextrequired- auth=false data=true storage=… functions=… realtime=…
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov attest recaptcha
Web apps attest with reCAPTCHA v3 / Enterprise (recaptchaAttestation() in @sovaria/sdk).
sov attest recaptcha [OPTIONS]Arguments and options
--site-keytextrequired--kindtextoptionaldefaultv3- v3 or enterprise
--min-scorenumberoptionaldefault0.5--gcp-projecttextoptional--hostnametextoptional--secret-stdinflagoptional- Read the secret / API key from stdin
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov attest debug-token create
A debug token for simulators and CI (shown once; it expires).
sov attest debug-token create [OPTIONS] NAMEArguments and options
NAMEtextrequired--ttl-daysint rangeoptionaldefault90
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov attest debug-token delete
Delete a debug token: the attestation tokens it minted stop working too.
sov attest debug-token delete [OPTIONS] TOKEN_IDArguments and options
TOKEN_IDtextrequired--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov saml
SAML single sign-on for your app's users
sov saml list
The project's SAML connections, with the ACS URL and entity ID to give each IdP admin.
sov saml list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov saml add
Connect a customer's identity provider (metadata XML, or entity ID + sign-in URL + certificate).
sov saml add [OPTIONS] NAMEArguments and options
NAMEtextrequired- A name, like "Acme (Okta)"
--domain / -dtextrequired- Email domain this IdP signs in (repeat for more)
--metadatafileoptional- The IdP's metadata XML file
--entity-idtextoptional- IdP entity ID (instead of --metadata)
--sso-urltextoptional- IdP HTTP-Redirect sign-in URL (instead of --metadata)
--certificatefileoptional- IdP signing certificate PEM file
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov saml enable
Turn a connection on.
sov saml enable [OPTIONS] CONNECTION_IDArguments and options
CONNECTION_IDtextrequired
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov saml disable
Turn a connection off (its users keep their accounts).
sov saml disable [OPTIONS] CONNECTION_IDArguments and options
CONNECTION_IDtextrequired
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov saml remove
Remove a connection: its domains can no longer sign in with SSO (accounts stay).
sov saml remove [OPTIONS] CONNECTION_IDArguments and options
CONNECTION_IDtextrequired--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov sso-domain
Organization SSO domain verification
sov sso-domain verify
Check _sovaria-verification.<domain> now (organization owner).
sov sso-domain verify [OPTIONS] DOMAINArguments and options
DOMAINtextrequired
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov scim
SCIM 2.0 provisioning of app users and groups
sov scim status
Whether SCIM is on, the base URL for the identity provider, the token's prefix and last use, counts.
sov scim status [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov scim token
Turn SCIM on, or rotate its token.
sov scim token [OPTIONS]The token is printed once: paste it into the identity provider.
Arguments and options
--yes / -yflagoptional- Rotate without asking (the current token stops at once)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov scim token # turn SCIM on or rotate (prints the token once)
sov scim statussov scim revoke
Turn SCIM off: the token stops working (provisioned users and groups stay).
sov scim revoke [OPTIONS]Arguments and options
--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov auth-hooks
Auth hooks (before-create/-sign-in, verification attempts, email/SMS senders)
sov auth-hooks list
Both blocking hooks (no secrets), whether the plan includes them and the staff switch.
sov auth-hooks list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-hooks set
Point a hook at a webhook or function.
sov auth-hooks set [OPTIONS] EVENTA new signing secret is printed once.
Arguments and options
EVENTtextrequired- before-create, before-sign-in, password-verification-attempt, mfa-verification-attempt, send-email or send-sms
--urltextoptional- https webhook
--functiontextoptional- A project function's name
--failtextoptionaldefaultclosed- closed (refuse when the hook fails) or open (let it through)
--timeout-msint rangeoptional--disabledflagoptional- Save it switched off
--rotate-secretflagoptional- Make a new signing secret (printed once)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-hooks set before-sign-in --url https://api.example.com/hooks/sign-in --timeout-ms 1500
sov auth-hooks set before-create --function check-signup --fail opensov auth-hooks test
Send a sample event and show the decision (allowed, claims, message, failed, error, latency).
sov auth-hooks test [OPTIONS] EVENTArguments and options
EVENTtextrequired- before-create, before-sign-in, password-verification-attempt, mfa-verification-attempt, send-email or send-sms
--emailtextoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov auth-hooks delete
Remove a hook: sign-ups or sign-ins stop waiting for it.
sov auth-hooks delete [OPTIONS] EVENTArguments and options
EVENTtextrequired- before-create, before-sign-in, password-verification-attempt, mfa-verification-attempt, send-email or send-sms
--yes / -yflagoptional
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov keys
Project API keys
sov keys list
List API keys for the current project.
sov keys list [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov keys create
Create a custom project API key.
sov keys create [OPTIONS]The secret is shown once.
The anon and service role keys are built in (sov keys ensure-defaults); a custom key gets the role you choose. Row-level security treats every custom key as anon.
Arguments and options
--nametextrequired- Human-readable key name
--roletextoptionaldefaultviewer- admin, editor or viewer (read-only)
--expirestextoptionaldefaultnever- never, 30d, 90d or 1y
--metadatatextoptional- Not stored by the server (kept so old scripts still run)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov keys ensure-defaults
Bootstrap default anon + service_role keys if missing.
sov keys ensure-defaults [OPTIONS]- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov keys revoke
Revoke an API key.
sov keys revoke [OPTIONS] KEY_IDArguments and options
KEY_IDtextrequired- API key ID
--yes / -yflagoptional- Don't ask
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
#sov project
Project scaffold commands
sov project init-config
Create a template sovaria.config.json file.
sov project init-config [OPTIONS] [NAME]Arguments and options
NAMEtextoptional- Project name used in the generated config
--output / -otextoptionaldefaultsovaria.config.json- Path to write the template config JSON
--forceflagoptional- Overwrite existing config file if present
sov project create
Create a project from sovaria.config.json.
sov project create [OPTIONS]Arguments and options
--config / -ctextoptionaldefaultsovaria.config.json- Path to sovaria project config JSON
--dirtextoptionaldefault.- Parent directory where the project folder will be created
--forceflagoptional- Allow scaffold to overwrite existing files when possible
sov project status
Show local sovaria.config.json linkage and resolved scope.
sov project link
Write org/project scope into sovaria.config.json and the active profile.
sov project link [OPTIONS]Arguments and options
--config / -cpathoptional- Path to sovaria.config.json (auto-discovered when omitted)
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov project use
Set default scope for CLI commands (profile only, no config file write).
sov project use [OPTIONS] ORG_ID PROJECT_IDArguments and options
ORG_IDtextrequired- Organisation node ID
PROJECT_IDtextrequired- Project node ID
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.
sov project export
Export the full project data plane (Postgres dump + migration metadata).
sov project export [OPTIONS]Bundle includes postgres.sql.gz (all schemas), manifest.json, storage-metadata.json, and RESTORE.md. Storage file contents are not included — use sov storage download. Sovaria keeps each export encrypted for 7 days, then deletes it; download it before then.
Arguments and options
--output / -opathoptionaldefaultsovaria-export.tar.gz- Local path for the export bundle (.tar.gz)
--listflagoptional- List recent exports instead of creating one
- Also takes
--profile,--org,--projectand--envto act on another account, organization, project or environment.