# Surfacing docker-registry secrets created with Kubectl

**URL:** <https://forums.suse.com/t/surfacing-docker-registry-secrets-created-with-kubectl/20586>\
**Category:** SUSE Rancher Prime\
**Created:** [June 22, 2021, 9:37pm UTC](https://forums.suse.com/t/surfacing-docker-registry-secrets-created-with-kubectl/20586 "2021-06-22T21:37:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juan\_Jimenez](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/juan_jimenez/32/6686_2.png) [@Juan\_Jimenez](https://forums.suse.com/u/Juan_Jimenez)\
**Post date:** [June 22, 2021, 9:37pm UTC](https://forums.suse.com/t/surfacing-docker-registry-secrets-created-with-kubectl/20586/1 "2021-06-22T21:37:38Z")

</div>

Does anyone know how I make docker-registry secrets created with Kubectl visible in the Rancher UI? I am using AWS ECR for our registry, and since the passwords change every 12 hours I have to update them. The simplest way I found is to install the AWS cli and Kubectl in the host VM where Rancher runs, and using a cron job to delete and recreate the docker-registry secret for our registry every 6 hours. But this does not show up in the Rancher UI. Do I have to do something special to make it visible in the UI?

---

<div class="post-metadata">

**Author:** ![Juan\_Jimenez](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/juan_jimenez/32/6686_2.png) [@Juan\_Jimenez](https://forums.suse.com/u/Juan_Jimenez)\
**Post date:** [June 22, 2021, 9:56pm UTC](https://forums.suse.com/t/surfacing-docker-registry-secrets-created-with-kubectl/20586/2 "2021-06-22T21:56:55Z")

</div>

Oh, never mind. I was looking at the wrong project. The secret is created in visible in the default project in the cluster. I was looking at the wrong one.
