API Authorization

Authorization for REST API calls is only done at the API gateway. This is facilitated through policy checks to the Open Policy Agent (OPA). Every REST API call into the system is sent to the OPA to make an authorization decision. The decision is based on the authenticated JSON Web Token (JWT) passed into the request.

This page lists the available personas and the supported REST API endpoints for each.

admin

Authorized for every possible REST API endpoint.

system-pxe

Authorized for endpoints related to booting.

The system-pxe persona is authorized to make GET, HEAD, or POST calls to any Boot Script Service (BSS) endpoint (/apis/bss/*).

system-compute

Authorized for endpoints required by the Cray Operating System (COS) to manage compute nodes and NCN services.

The system-compute persona is authorized to make:

wlm

Authorized for endpoints related to the use of the Slurm or PBS workload managers.

The wlm persona is authorized to make: