mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
qa/rgw: librgw workunit creates a test user
Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
cefd31b6f6
commit
12b5b9506c
@ -1,5 +1,14 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
export AWS_ACCESS_KEY_ID=`openssl rand -base64 20`
|
||||
export AWS_SECRET_ACCESS_KEY=`openssl rand -base64 40`
|
||||
|
||||
radosgw-admin user create --uid ceph-test-librgw-file \
|
||||
--access-key $AWS_ACCESS_KEY_ID \
|
||||
--secret $AWS_SECRET_ACCESS_KEY \
|
||||
--display-name "librgw test user" \
|
||||
--email librgw@example.com || echo "librgw user exists"
|
||||
|
||||
ceph_test_librgw_file
|
||||
ceph_test_librgw_file_aw
|
||||
ceph_test_librgw_file_cd
|
||||
|
Loading…
Reference in New Issue
Block a user