Proxmox Backup Server
The following example variables are used, and should be replaced with your actual URLs.
pbs.example.com
(The URL of your Proxmox instance.)id.example.com
(The URL of your Pocket ID instance.)
Pocket ID Setup
- In Pocket ID create a new OIDC Client, name it, for example,
Proxmox Backup Server
. - Set a logo for this OIDC Client if you would like to.
- Set the callback URL to:
https://pbs.example.com
. - Copy the
Client ID
, and theClient Secret
for use in the next steps.
Proxmox Backup Server Setup
- Open the PBS console and navigate to:
Configuration
->Access Control
->Realms
. - Add a new
OpenID Connect Server
Realm. - Enter
https://id.example.com
for theIssuer URL
. - Enter a name for the realm of your choice, for example,
PocketID
. - Paste the
Client ID
from Pocket ID into theClient ID
field in PBS. - Paste the
Client Secret
from Pocket ID into theClient Key
field in PBS. - You can check the
Default
box if you want this to be the default realm PBS uses when signing in. - Check the
Autocreate Users
checkbox. (This will automatically create users in PBS if they don't exist). - Select
username
for theUsername Claim
dropdown. (This is a personal preference and controls how the username is shown, for example:username = username@PocketID
oremail = username@example@PocketID
). - Leave the rest as defaults and click
OK
to save the new realm. - Sign in with the Pocket ID account to create the user.
Once the user has been created in PBS, then finish the setup:
- Sign back in as a local administrator to grant permissions per below.
- In PBS, Edit the
PocketID
realm you created earlier. - Set the
Scope
toopenid profile email groups
. - You should now see the user groups in PBS, and you can assign permissions:
- Navigate to
Configuration
->Access Control
->Permissions
. - Click on
Add
and selectUser Permission
. - Set the
Path
to/
for the entire datacenter or specify a specific VM or container path. - Select the
YourUsername@PocketID
user. - Set the
Role
toAdministrator
.
- Navigate to