Service Accounts
Service accounts are non-user actors used with headless clients where no user is physically present to perform a standard identity provider authentication flow. They are commonly used for managing access from servers, machines, IoT devices, or other non-user machines to your Resources.
Service accounts behave like any other actor in Firezone -- they can be added to Groups and Policies to gain access to Resources. Unlike users, however, service accounts must be managed manually and are never synced from your identity provider.
Creating a service account
To create a service account:
- Navigate to
Actors -> Add Actorin your Firezone admin portal - Select
Service Accountas the type - Set an appropriate expiration for the initial token
- Copy and store the token somewhere safe -- it will only be shown once
The token can then be used with any Firezone Client that supports headless mode operation.
Managing tokens
Service account tokens authenticate directly to the Firezone API using long-lived, multi-owner tokens. A single token can be used by multiple headless clients simultaneously, making them ideal for fleets of machines that need the same access.
Service account tokens are managed entirely in the Firezone admin portal and are not affected by identity provider configuration or session lifetime settings.
Service account tokens have a default lifetime of 365 days. Choose an appropriate expiration based on your security requirements.
Adding tokens
You can add multiple tokens to a service account. This is useful for rotating tokens or providing separate tokens to different systems.
To add a token:
- Navigate to
Actorsin the left sidebar of your Firezone admin portal - Click the service account you wish to add a token for
- Click the hamburger menu (three vertical dots) in the top right corner
- Select
Add Tokenfrom the dropdown menu
Revoking tokens
Tokens can be revoked at any time from the service account's detail page. Click the trash icon next to the token you wish to revoke.
Need additional help?
See all support options or try asking on one of our community-powered support channels:
- Discussion forums: Ask questions, report bugs, and suggest features.
- Discord server: Join discussions, meet other users, and chat with the Firezone team
- Email us: We read every message.