Hello.
In PBS 4.0.12, when attempting to register an S3 Datastore from Add: Datastore, the Bucket dropdown does not display correctly.
This issue occurs when the S3 Endpoint is specified in the syntax

It can be set correctly from the CLI.
Additionally, when specified in the syntax


In PVE 4.0 BETA, you could set the parameters by entering them directly instead of using a pull-down menu, but in 4.0.12 it doesn't seem to work as expected.
In PBS 4.0.12, when attempting to register an S3 Datastore from Add: Datastore, the Bucket dropdown does not display correctly.
This issue occurs when the S3 Endpoint is specified in the syntax
{{bucket}}.s3.{{region}}.amazonaws.com
.
It can be set correctly from the CLI.
Code:
root@pbs1:~# proxmox-backup-manager versions
proxmox-backup-server 4.0.12-1 running version: 4.0.12
root@pbs1:~#
root@pbs1:~# proxmox-backup-manager s3 endpoint list
lqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqwqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqwqqqqqqqqqqqqk
x id x endpoint x port x region x access-key x fingerprint x path-style x
tqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqnqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqnqqqqqqqqqqqqu
x s3-endpoint x pbs-bk.s3.ap-northeast-1.amazonaws.com x x ap-northeast-1 x AKIASHPDKYNE54D4SVGQ x x x
mqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqvqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqvqqqqqqqqqqqqj
root@pbs1:~#
root@pbs1:~#
root@pbs1:~#
root@pbs1:~# proxmox-backup-manager datastore create my-s3-store /mnt/datastore/my-s3-store-cache --backend type=s3,client=my-s3-endpoint,bucket=pbs-bk
Error: no 'my-s3-endpoint' in config
root@pbs1:~# proxmox-backup-manager datastore create my-s3-store /mnt/datastore/my-s3-store-cache --backend type=s3,client=s3-endpoint,bucket=pbs-bk
Chunkstore create: 1%
(omitted)
Chunkstore create: 99%
Access time update check successful.
TASK OK
root@pbs1:~#
Additionally, when specified in the syntax
s3.{{region}}.amazonaws.com
, it becomes possible to select from the Add: Datastore - Bucket dropdown, but it fails with a 405 error.

In PVE 4.0 BETA, you could set the parameters by entering them directly instead of using a pull-down menu, but in 4.0.12 it doesn't seem to work as expected.