From: Pritha Srivastava Date: Mon, 13 Jun 2022 09:43:45 +0000 (+0530) Subject: rgw: adding 'user-policy' caps to a user to enable X-Git-Tag: v18.0.0~613^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ff673210f7b0cc6dc65b6a9cfea7743a429c621d;p=ceph.git rgw: adding 'user-policy' caps to a user to enable execution of iam tests locally. Signed-off-by: Pritha Srivastava --- diff --git a/src/vstart.sh b/src/vstart.sh index 5518e300624..51ebcf26cdb 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -1596,7 +1596,7 @@ do_rgw_create_users() --access-key ABCDEFGHIJKLMNOPQRST \ --secret abcdefghijklmnopqrstuvwxyzabcdefghijklmn \ --display-name youruseridhere \ - --email s3@example.com -c $conf_fn > /dev/null + --email s3@example.com --caps="user-policy=*" -c $conf_fn > /dev/null $CEPH_BIN/radosgw-admin user create \ --uid 56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234 \ --access-key NOPQRSTUVWXYZABCDEFG \