SIGN IN SIGN UP

mgr/smb: Add CLI command for RGW share creation

- Add 'smb share create rgw' CLI command
- Import rgw module for credential management
- Fetch RGW credentials using radosgw-admin
- Create Share resource with RGWStorage backend
- Handle errors from credential fetching

This enables users to create SMB shares backed by RGW buckets,
similar to 'nfs export create rgw' functionality.

Example usage:
  ceph smb share create rgw mysmb share1 mybucket

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
S
Shweta Sodani committed
6a3f3103a8a7498a41c8a90e27952d7e483da11b
Parent: 9b4fbb3
Committed by Shweta Sodani <Shweta.Sodani@ibm.com> on 6/25/2026, 4:19:45 PM