rework logic to get ceph key