[GH-ISSUE #56] feature: Support multiple credentials for multiple endpoints #7

Open
opened 2026-03-03 16:27:40 +03:00 by kerem · 2 comments
Owner

Originally created by @seebag on GitHub (Aug 30, 2024).
Original GitHub issue: https://github.com/natrontech/pbs-exporter/issues/56

Pbs-exporter authentication to PBS is based on Token access linked to a user.
Authentication credentials must be the same for all the endpoints.

As far as I know, there is no way to force the token value in PBS, instead it will be automatically generated by the user interface.

I found a way to force the token, writing directly inside the /etc/proxmox-backup/token.shadow but it seems not very straightforward.

Did I miss something ?

Originally created by @seebag on GitHub (Aug 30, 2024). Original GitHub issue: https://github.com/natrontech/pbs-exporter/issues/56 Pbs-exporter authentication to PBS is based on Token access linked to a user. Authentication credentials must be the same for all the endpoints. As far as I know, there is no way to force the token value in PBS, instead it will be automatically generated by the user interface. I found a way to force the token, writing directly inside the `/etc/proxmox-backup/token.shadow` but it seems not very straightforward. Did I miss something ?
Author
Owner

@janfuhrer commented on GitHub (Dec 27, 2024):

Hi @seebag
you're right, at the moment the pbs-exporter only supports one credential. If you want to have multiple endpoints, you will need to deploy multiple instances of the pbs-exporter.

<!-- gh-comment-id:2563828731 --> @janfuhrer commented on GitHub (Dec 27, 2024): Hi @seebag you're right, at the moment the pbs-exporter only supports one credential. If you want to have multiple endpoints, you will need to deploy multiple instances of the pbs-exporter.
Author
Owner

@danteali commented on GitHub (Sep 14, 2025):

If at the moment the pbs-exporter only supports one credential. If you want to have multiple endpoints, you will need to deploy multiple instances of the pbs-exporter....

What's the point of supporting multiple targets with the target= URL query???

It's entirely useless unless there is a way of adding multiple token values to the docker config.
Or you could add additional URL queries for token value, token name, and PBS username.

<!-- gh-comment-id:3289558738 --> @danteali commented on GitHub (Sep 14, 2025): If `at the moment the pbs-exporter only supports one credential. If you want to have multiple endpoints, you will need to deploy multiple instances of the pbs-exporter.`... What's the point of supporting multiple targets with the `target=` URL query??? It's entirely useless unless there is a way of adding multiple token values to the docker config. Or you could add additional URL queries for token value, token name, and PBS username.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pbs-exporter#7
No description provided.