mgr/smb: add RGW credentials resource and store in priv_stor
Refactored RGW credential management to use dedicated RGWCredential resources instead of embedding credentials directly in Share resources. This will help to reuse the same credential across multiple shares using same user. RGW credentials must not appear in the public RADOS store, which any client with pool caps can read. Instead, write a config:merge stub containing only the credential fields to the private mon config-key store, and pass its URI to the container alongside the primary config URI via extra_config_uris. - Public config: ceph_rgw:access_key / secret_access_key are empty strings - Private stub: stored under smb/config/<cluster_id>/config.smb.rgw, contains only the real credential values via config:merge - extra_config_uris: new Config field carrying supplementary URIs appended to SAMBACC_CONFIG after the primary config_uri Signed-off-by: Avan Thakkar <athakkar@redhat.com> Signed-off-by: Shweta Sodani <ssodani@redhat.com>
A
Avan Thakkar committed
8916aa85f73a6d3dabc62bfce4e029bff7e9322d
Parent: 847dc5c
Committed by Shweta Sodani <Shweta.Sodani@ibm.com>
on 6/25/2026, 4:57:52 PM