]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs_proxy: identify and copy related keyring files 66907/head
authorXavi Hernandez <xhernandez@gmail.com>
Tue, 13 Jan 2026 15:23:22 +0000 (16:23 +0100)
committerXavi Hernandez <xhernandez@gmail.com>
Tue, 10 Feb 2026 07:20:27 +0000 (08:20 +0100)
commite99f82f94408a05493672037d96bbaf3865ccc63
tree43bd1a144ef1ceed820e5ac4e12fbbc6e180e837
parent7bfba9f5b1a9607912308910d4d7bb988244ec47
libcephfs_proxy: identify and copy related keyring files

When a configuration is passed to libcephfs, if keyring information is
not included in that file, libcephfs tries to find a suitable file
containing it. The proxy simulates the same process and does copies of
the identified keyrings. Then the ceph's "keyring" option is updated to
point to the paths of the copied files. This way the the proxy daemon
will be able to load keyring information when it's not present in the
main configuration file.

Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
src/libcephfs_proxy/proxy_mount.c