Licence keys and organisations
Manage organisations, owner and member roles, VM licence keys and API tokens in the console.
Every VM, licence key, incident and billing account in nyren belongs to an organisation. Signing up creates an organisation with your email address as its owner.
Members and roles
An organisation has two roles, managed at app.nyren.ai/team:
| Action | Owner | Member |
|---|---|---|
| View fleet, incidents and event log | Yes | Yes |
| Rename organisation | Yes | No |
| Add or remove members | Yes | No |
| Create, replace or revoke licence keys | Yes | No |
| Create or revoke API tokens | Yes | No |
| Manage billing, plans and credit | Yes | No |
Owners add teammates by email; they join when they sign in with that address. Members can leave an organisation at any time. An organisation's owner cannot leave or be removed.
Licence keys
Owners create, replace and revoke licence keys (nyr_live_...) on Billing or Organisation.
- Shown once. Copy a new key when it is created. nyren stores only its SHA-256 hash and last four characters.
- Shared across VMs. One organisation key can be installed on multiple VMs. The installer writes it to
/etc/nyren/licence.env(root, mode0600). - Rotate or revoke. Replace revokes the old key and creates a new one in a single step; VMs using the old key need the new one. Revoke stops a key at the VM's next licence check and cannot be undone.
To pass a key to the prebuilt Ubuntu 24.04 image at first boot, use cloud-init:
#cloud-config
write_files:
- path: /etc/nyren/licence.env
owner: root:root
permissions: '0600'
content: |
NYREN_LICENCE_KEY=<your key>API tokens
Owners create read-only organisation API tokens (nyr_api_...) at app.nyren.ai/tokens for the CLI and MCP server. Each organisation can hold up to 20 active tokens. Tokens are scoped to your organisation's VMs and incidents, shown once on creation, and stop working within a minute of revocation.