# Rancher - Allow specific secrets for roles

**URL:** <https://forums.suse.com/t/rancher-allow-specific-secrets-for-roles/40340>\
**Category:** SUSE Rancher Prime\
**Created:** [March 23, 2023, 2:21pm UTC](https://forums.suse.com/t/rancher-allow-specific-secrets-for-roles/40340 "2023-03-23T14:21:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wioxjk](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/wioxjk/32/9439_2.png) [@wioxjk](https://forums.suse.com/u/wioxjk)\
**Post date:** [March 23, 2023, 2:21pm UTC](https://forums.suse.com/t/rancher-allow-specific-secrets-for-roles/40340/1 "2023-03-23T14:21:31Z")

</div>

Hi,

I have a usecase, where I have to give some specific accesses to a user in Rancher.  
Most of the things works fine, but at the moment, it looks like I have to give the user access to all secrets in a project in order to allow that user to pull images from a custom registry.

How do I achieve this?  
Attached a screenshot, with an example (not working)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/e/ee4c7bc5b7c4c03c1b4311174559a359fe6592c0.png)

I’ve also tested with “secrets/regcred”, but that did not work either
