# Ceph RBD failed to get secret

**URL:** <https://forums.suse.com/t/ceph-rbd-failed-to-get-secret/13153>\
**Category:** SUSE Rancher Prime\
**Created:** [January 30, 2019, 7:11am UTC](https://forums.suse.com/t/ceph-rbd-failed-to-get-secret/13153 "2019-01-30T07:11:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naisanza](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/naisanza/32/3120_2.png) [@naisanza](https://forums.suse.com/u/naisanza)\
**Post date:** [January 30, 2019, 7:11am UTC](https://forums.suse.com/t/ceph-rbd-failed-to-get-secret/13153/1 "2019-01-30T07:11:00Z")

</div>

I’m getting the error:

`Failed to provision volume with StorageClass "ceph": failed to get admin secret from ["kube-system"/"ceph-admin-key"]: failed to get secret from ["kube-system"/"ceph-admin-key"]	`

What does the format of the Secret have to be? Does the `Key` in the key:value pair have to be named something specifically? Like “Key” or “key” or “secret”?

```auto
apiVersion: v1
kind: Secret
metadata:
  name: ceph-secret
  namespace: kube-system
type: "kubernetes.io/rbd"
data:
  # ceph auth get-key client.kube | base64
  key: <your output from above>
  Key: <your output from above>
  secret: <your output from above>

```

 ![12%20AM](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/513c81c2b540d0f96d5fa0d6004b90515af53cc7.png)
