# Creating secret with encrypted password

**URL:** <https://forums.suse.com/t/creating-secret-with-encrypted-password/19237>\
**Category:** SUSE Rancher Prime\
**Created:** [January 11, 2021, 10:58pm UTC](https://forums.suse.com/t/creating-secret-with-encrypted-password/19237 "2021-01-11T22:58:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahmed](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@rahmed](https://forums.suse.com/u/rahmed)\
**Post date:** [January 11, 2021, 10:58pm UTC](https://forums.suse.com/t/creating-secret-with-encrypted-password/19237/1 "2021-01-11T22:58:20Z")

</div>

I created secret to access docker registry available in gitlab. Firstly my docker password is clear text and I could not find a method to use encrypted password. Secondly my deployment is failing as it is unable to pull the image from gitlab repo
