Hello,
When I create a user, then sub-user and generate a swift key, the key is missing from json output.root@ceph4:~# radosgw-admin user create --uid=testuser --display-name="Test User" --email=test@xxxxxxxxxx
{ "user_id": "testuser",
"display_name": "Test User",
"email": "test@xxxxxxxxxx",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [],
"keys": [
{ "user": "testuser",
"access_key": "26EIDOTCAMA6ZE5OW2EO",
"secret_key": "8bxpvGiE\/JSz8T9l1Ks\/iEqI6sKMswpto\/mUKHNF"}],
"swift_keys": [],
"caps": []}
root@ceph4:~# radosgw-admin subuser create --uid=testuser --subuser=testuser:swift --access=full
{ "user_id": "testuser",
"display_name": "Test User",
"email": "test@xxxxxxxxxx",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [
{ "id": "testuser:swift",
"permissions": "full-control"}],
"keys": [
{ "user": "testuser",
"access_key": "26EIDOTCAMA6ZE5OW2EO",
"secret_key": "8bxpvGiE\/JSz8T9l1Ks\/iEqI6sKMswpto\/mUKHNF"}],
"swift_keys": [],
"caps": []}
root@ceph4:~# radosgw-admin key create --subuser=testuser:swift --key-type=swift
{ "user_id": "testuser",
"display_name": "Test User",
"email": "test@xxxxxxxxxx",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [
{ "id": "testuser:swift",
"permissions": "full-control"}],
"keys": [
{ "user": "testuser",
"access_key": "26EIDOTCAMA6ZE5OW2EO",
"secret_key": "8bxpvGiE\/JSz8T9l1Ks\/iEqI6sKMswpto\/mUKHNF"}],
"swift_keys": [
{ "user": "testuser:swift",
"secret_key": ""}],
"caps": []}
root@ceph4:~#
What's the problem?
Thank you,
Thank you,
Mihaly
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com