If I try to create a key with explicitly specifying the access-key and
secret-key, radosgw-admin ignores the access-key entirely.
In my case, I'm trying to copy some keys exactly from an older Ceph cluster.
(I've slightly scrambled some details below for security)
ceph version 0.73 (d8ad51ee8ab508bc523a0398f54d8d9c5785b8d8)
(Running the raring packages).
# radosgw-admin key create --uid example --subuser=example:foo
--access-key=exampleaccess --secret examplesecret
{ "user_id": "example",
"display_name": "...",
"email": "..."
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [
{ "id": "example:foo",
"permissions": "read-write"}],
"keys": [
{ "user": "example",
"access_key": "HGDRHZG1K030VGYU5AUX",
"secret_key": "xDCaefCz1v9jrY6yi3L\/BBd7OZznokiJNJced5\/3"},
{ "user": "example:foo",
"access_key": "O8E3B2HUJMXR5L5N5UL6",
"secret_key": "examplesecret"}],
"swift_keys": [],
"caps": [],
"op_mask": "read, write, delete",
"default_placement": "",
"placement_tags": [],
"bucket_quota": { "enabled": false,
"max_size_kb": -1,
"max_objects": -1}}
--
Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead
E-Mail : [email protected]
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html