updated ceph key logic