]> git.proxmox.com Git - proxmox-backup.git/commitdiff
docs: simplify list of ENV var alternative
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Jul 2021 08:21:40 +0000 (10:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Jul 2021 08:21:40 +0000 (10:21 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
docs/backup-client.rst

index df98d5408d02372056102c2a6053e4b2301d152a..02dae10042b6e40cc4e89db99b93be22500ab827 100644 (file)
@@ -49,36 +49,19 @@ Environment Variables
   When set, this value is used for the password required for the backup server.
   You can also set this to a API token secret.
 
-  .. Note:: if not set, we also query ``PBS_PASSWORD_FD``,
-     ``PBS_PASSWORD_FILE`` and ``PBS_PASSWORD_CMD`` (in that order)
-     and return the first value set.
-
-``PBS_PASSWORD_FD``
-  Like ``PBS_PASSWORD``, but read data from Unix file descriptor.
-
-``PBS_PASSWORD_FILE``
-  Like ``PBS_PASSWORD``, but read data from specified file name.
-
-``PBS_PASSWORD_CMD``
-  Like ``PBS_PASSWORD``, but read data from specified command (stdout).
+``PBS_PASSWORD_FD``, ``PBS_PASSWORD_FILE``, ``PBS_PASSWORD_CMD``
+  Like ``PBS_PASSWORD``, but read data from an open file descriptor, a file
+  name or from the `stdout` of a command, respectively. The first defined
+  environment variable from the order above is preferred.
 
 ``PBS_ENCRYPTION_PASSWORD``
   When set, this value is used to access the secret encryption key (if
   protected by password).
 
-  .. Note:: if not set, we also query ``PBS_ENCRYPTION_PASSWORD_FD``,
-     ``PBS_ENCRYPTION_PASSWORD_FILE`` and
-     ``PBS_ENCRYPTION_PASSWORD_CMD`` (in that order) and return the
-     first value set.
-
-``PBS_ENCRYPTION_PASSWORD_FD``
-  Like ``PBS_ENCRYPTION_PASSWORD``, but read data from Unix file descriptor.
-
-``PBS_ENCRYPTION_PASSWORD_FILE``
-  Like ``PBS_ENCRYPTION_PASSWORD``, but read data from specified file name.
-
-``PBS_ENCRYPTION_PASSWORD_CMD``
-  Like ``PBS_ENCRYPTION_PASSWORD``, but read data from specified command (stdout).
+``PBS_ENCRYPTION_PASSWORD_FD``, ``PBS_ENCRYPTION_PASSWORD_FILE``, ``PBS_ENCRYPTION_PASSWORD_CMD``
+  Like ``PBS_ENCRYPTION_PASSWORD``, but read data from an open file descriptor,
+  a file name or from the `stdout` of a command, respectively. The first
+  defined environment variable from the order above is preferred.
 
 ``PBS_FINGERPRINT`` When set, this value is used to verify the server
   certificate (only used if the system CA certificates cannot validate the