= Slurmrestd Access

****
This page describes how-to setup Slurm `slurmrestd` service and Slurm-web agent
with:

* *TCP/IP* socket,
* *JWT* authentication,
* *static* token management mode.

xref:slurmrestd.adoc#slurmrestd-conf-options[< back to all `slurmrestd` setups]
****

image::slurmrestd/slurmrestd_access_modes_inet_jwt_static.png[]

include::partial$intro-jwt.adoc[]

== Setup JWT authentication

include::partial$slurm-jwt.adoc[]

== Setup `slurmrestd`

:slurmrestd_uri: [::]:6820

include::partial$slurmrestd-jwt.adoc[]

:slurmrestd_uri: http://localhost:6820

== Setup Agent

include::partial$agent-jwt-static.adoc[]

== Test Access

include::partial$slurmrestd-test.adoc[]

== Restart agent

include::partial$agent-restart.adoc[]
