]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/ceph_secrets: add SecretMgr for secrets handling and resolution
authorRedouane Kachach <rkachach@ibm.com>
Mon, 26 Jan 2026 13:46:39 +0000 (14:46 +0100)
committerRedouane Kachach <rkachach@ibm.com>
Thu, 11 Jun 2026 08:48:27 +0000 (10:48 +0200)
commit9c220eec0eac3bec950116b1ee0d8ce8d2b3a80a
tree56d61a44f339acfdb63b78c0c29f3e2853234dac
parent0937270bddae4835a89f3e637732eaa8578f61f1
mgr/ceph_secrets: add SecretMgr for secrets handling and resolution

Introduce SecretMgr to encapsulate higher-level behavior on top of
SecretStoreMon: listing helpers, scan_refs, scan_unresolved_refs, and
resolve_object (walk nested dict/list structures). This keeps
parsing/substitution logic out of the mgr module entrypoint and makes
consumer behavior consistent. The module can now resolve secret://…
references deterministically and provide structured scan output.

Fixes: https://tracker.ceph.com/issues/74562
Assisted-by: Claude <claude.ai>
Assisted-by: ChatGPT <chatgpt.com>
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/pybind/mgr/ceph_secrets/secret_mgr.py [new file with mode: 0644]