Authentication
Interactive Authentication
Sign In
Authenticate with your Norrix account:
norrix sign-inAlias:
norrix loginThis opens a browser window for authentication via AWS Cognito. After successful login, your session tokens are stored locally.
Sign Out
Clear your local session:
norrix sign-outAlias:
norrix logoutCheck Current User
Verify who you’re logged in as:
norrix whoamiEnvironment Selection
Norrix supports multiple environments for development and production.
Production (Default)
norrix build ios releaseDevelopment
Use the --dev flag or --env dev:
norrix build ios release --dev
norrix build ios release --env devThe environment affects:
- API endpoints
- Token storage
- Organization selection
API Keys for CI/CD
For non-interactive environments like CI/CD pipelines, use API keys instead of interactive login.
Creating API Keys
- Go to Dashboard → Settings → API Keys
- Click Create API Key
- Enter a name (e.g., “GitHub Actions”)
- Select scopes:
build,submit,update - Optionally set an expiration date
- Copy the key immediately. It won’t be shown again
Using API Keys
Set as an environment variable:
export NORRIX_API_KEY=nrx_abc123...Or pass directly (not recommended for security):
NORRIX_API_KEY=nrx_abc123 norrix build ios releaseKey Format
API keys follow the format:
nrx_<base64_random_bytes>Example: nrx_Ks7dF2xWq9...
Key Scopes
| Scope | Permissions |
|---|---|
build | Create and manage builds |
submit | Submit apps to stores |
update | Publish OTA updates |
Revoking Keys
Keys can be revoked anytime from the dashboard. Revoked keys are immediately invalidated.
Organization Selection
List Organizations
norrix orgs listSelect Default Organization
norrix orgs selectThis opens an interactive prompt to choose your default organization.
View Current Organization
norrix orgs currentPer-Command Override
Specify an organization for a single command:
norrix build ios release --org org_abc123Token Storage
Session tokens are stored locally in:
- macOS/Linux:
~/.norrix/ - Windows:
%USERPROFILE%\.norrix\
Tokens are stored separately for each environment (prod/dev).