Title
Create new category
Edit page index title
Edit category
Edit link
JWT Access Permissions
This article outlines the access permissions and API capabilities for two types of JWT tokens, based on the Lightbits RBAC configuration:
system_jwt: Associated with the "system" project and cluster-admin role. This role has full system-wide access, including cluster management, infrastructure control, security administration, and cross-project operations.
default_admin_jwt: Associated with the "default" project and admin role. This role is limited to the "default" project only, with no cluster management capabilities.
The article includes detailed permission tables, API call examples, and security considerations to help you understand when and how to use each JWT type.
The system_jwt role has significantly broader privileges and should be used sparingly for system administration tasks, while the default admin_jwt role is suitable for day-to-day project management within the default project.
System-Wide Resources (system_jwt Only)
The following resources are exclusively accessible to system_jwt:
Cluster Management
clusterConfigs: get, update, list
featureFlags: get, enable, disable, list
versions: get
clusters: get
clusterInfos: get
Infrastructure Management
servers: create, get, list, delete, enable, disable, upgrade
nvmeDevices: get, list, update, add, manage
nodes: get, list, replace
hosts: get, list
adminEndpoints: create, delete, get, list, update
Security and Authentication
encryptions: enable, manage, get
authentications: enable, disable
idpConfigurations: create, delete, get, update, list
idpClientConfs: create, delete, get, update, list
authMapEntrys: create, delete, get, update, list
inBandAuths: enable, disable
Cross-Project Access
projects:* (all projects): create, update, delete, get, list
credentials:* (all projects): create, delete, get, list
volumes:* (all projects): create, delete, get, list, update, rollback
snapshots:* (all projects): create, delete, get, list
resourcePolicys:* (all projects): create, update, delete, get, list
qosPolicys:* (all projects): create, update, delete, get, list
roles:* (all projects): get, list
events:* (all projects): list
trustedHosts:* (all projects): create, delete, get, list, update
hostSecrets:* (all projects): manage, get
System Operations
logs: fetch
nles: manage
Project-Scoped Resources (Both JWTs)
Both JWT types can access these resources, but with different scopes:
Resource | system_jwt Access | default_admin_jwt Access |
|---|---|---|
projects | All projects ( | Default project only ( |
credentials | All projects ( | Default project only ( |
volumes | All projects ( | Default project only ( |
snapshots | All projects ( | Default project only ( |
resourcePolicys | All projects ( | Default project only ( |
qosPolicys | All projects ( | Default project only ( |
roles | All projects ( | Default project only ( |
events | All projects ( | Default project only ( |
trustedHosts | All projects ( | Default project only ( |
Both JWT types have read-only access to:
versions: get
clusterInfos: get
nodes: get, list
Key Differences
system_jwt Advantages:
Full cluster administration - Can manage servers, nodes, hosts, and cluster-wide settings.
Security management - Can configure authentication, encryption, and IDP settings.
Cross-project access - Can manage resources across all projects.
Infrastructure control - Can manage NVMe devices, admin endpoints, and system logs.
Project lifecycle - Can create, delete, and manage projects themselves.
default_admin_jwt Limitations:
Project-scoped only - Limited to "default" project resources.
No cluster management - Cannot access cluster-wide configuration or infrastructure.
No security administration - Cannot manage authentication or encryption settings.
Read-only QoS policies - Can view but not modify QoS policies.
No project creation - Cannot create or manage other projects.
API Call Examples
system_jwt Exclusive Calls:
default_admin_jwt Calls:
Rejected Calls for default_admin_jwt:
Security Considerations
system_jwt should be used sparingly and only for system administration tasks.
default_admin_jwt provides sufficient permissions for most day-to-day project management activities.
The principle of least privilege suggests using default_admin_jwt unless system-wide access is specifically required.
Consider implementing additional project-specific admin JWTs for multi-tenant environments.
© 2026 Lightbits Labs™