]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: fix invalid command for STS key generation 69867/head
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Wed, 1 Jul 2026 08:56:01 +0000 (15:56 +0700)
committerVille Ojamo <14869000+bluikko@users.noreply.github.com>
Wed, 1 Jul 2026 09:19:15 +0000 (16:19 +0700)
Config rgw_sts_key expects a 16-character hexadecimal key. The option
long_desc has an example with openssl rand -hex 16 which generates
16 hexadecimal bytes that consist of 32 characters rendered in ASCII.
Modify the example openssl command to output 8 bytes that matches the
required length of 16 characters.

Remove a space after a slash.

Raised in the doc bugs pad.

Signed-off-by: Ville Ojamo <git2233+ceph@ojamo.eu>
src/common/options/rgw.yaml.in

index 4a5c8abc5fb9c89fd0841406a2e311cbe6658982..cc6f3b695432bebedbbf289018aefbec2e80776c 100644 (file)
@@ -3796,9 +3796,9 @@ options:
   type: str
   level: advanced
   desc: STS Key
-  long_desc: Key used for encrypting/ decrypting role session tokens.
+  long_desc: Key used for encrypting/decrypting role session tokens.
     This key must consist of 16 hexadecimal characters, which can be
-    generated by the command 'openssl rand -hex 16'. All radosgw instances
+    generated by the command 'openssl rand -hex 8'. All radosgw instances
     in a zone should use the same key. In multisite configurations, all
     zones in a realm should use the same key.
   services: