2021-02-10 15:37:27 +00:00
|
|
|
This file contains the list of API users and API tokens.
|
|
|
|
|
2021-10-27 14:19:27 +00:00
|
|
|
Each user configuration section starts with the header ``user: <name>``,
|
2021-02-10 15:37:27 +00:00
|
|
|
followed by the user configuration options.
|
|
|
|
|
2021-10-27 14:19:27 +00:00
|
|
|
API token configuration starts with the header ``token:
|
2021-02-10 15:37:27 +00:00
|
|
|
<userid!token_name>``, followed by the token configuration. The data
|
|
|
|
used to authenticate tokens is stored in a separate file
|
|
|
|
(``token.shadow``).
|
|
|
|
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
user: root@pam
|
|
|
|
comment Superuser
|
|
|
|
email test@example.local
|
|
|
|
...
|
|
|
|
|
|
|
|
token: root@pam!token1
|
|
|
|
comment API test token
|
|
|
|
enable true
|
|
|
|
expire 0
|
|
|
|
|
|
|
|
user: ...
|
|
|
|
|
|
|
|
|
|
|
|
You can use the ``proxmox-backup-manager user`` command to manipulate
|
|
|
|
this file.
|