To:
ceph config set mgr mgr/dashboard/RGW_API_ACCESS_KEY 8OHNPOQMYY1FEUGAQZL2
ceph config set mgr mgr/dashboard/RGW_API_SECRET_KEY I8Gb46kpqCmdBdsCNEx5bhOuEwnOGEtIb73rOK8T
Because access_key/secret_key are common across 3 units. I'm not sure until when the manual change is persistent though since some Juju hooks will override it at some point.
A quick and dirty workaround is to set a bare string by hand after removing the relation. e.g.
From: RGW_API_ ACCESS_ KEY {'juju- 5e2cd5- 0-lxd-2' : '8OHNPOQMYY1FEU GAQZL2' , 'juju-5e2cd5- 1-lxd-3' : '8OHNPOQMYY1FEU GAQZL2' , 'juju-5e2cd5- 2-lxd-2' : '8OHNPOQMYY1FEU GAQZL2' } * RGW_API_ SECRET_ KEY {'juju- 5e2cd5- 0-lxd-2' : 'I8Gb46kpqCmdBd sCNEx5bhOuEwnOG EtIb73rOK8T' , 'juju-5e2cd5- 1-lxd-3' : 'I8Gb46kpqCmdBd sCNEx5bhOuEwnOG EtIb73rOK8T' , 'juju-5e2cd5- 2-lxd-2' : 'I8Gb46kpqCmdBd sCNEx5bhOuEwnOG EtIb73rOK8T' } *
====
# ceph config dump | grep 'dashboard.*KEY'
mgr advanced mgr/dashboard/
mgr advanced mgr/dashboard/
====
To: RGW_API_ ACCESS_ KEY 8OHNPOQMYY1FEUG AQZL2 RGW_API_ SECRET_ KEY I8Gb46kpqCmdBds CNEx5bhOuEwnOGE tIb73rOK8T
ceph config set mgr mgr/dashboard/
ceph config set mgr mgr/dashboard/
Because access_ key/secret_ key are common across 3 units. I'm not sure until when the manual change is persistent though since some Juju hooks will override it at some point.