# How to use multiple keys in PLUGIN\_BUILD\_ARGS\_FROM\_ENV, using secrets

**URL:** <https://forums.suse.com/t/how-to-use-multiple-keys-in-plugin-build-args-from-env-using-secrets/40914>\
**Category:** SUSE Rancher Prime\
**Created:** [June 13, 2023, 5:15pm UTC](https://forums.suse.com/t/how-to-use-multiple-keys-in-plugin-build-args-from-env-using-secrets/40914 "2023-06-13T17:15:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_Gonzalez\_US](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/manuel_gonzalez_us/32/10272_2.png) [@Manuel\_Gonzalez\_US](https://forums.suse.com/u/Manuel_Gonzalez_US)\
**Post date:** [June 13, 2023, 5:15pm UTC](https://forums.suse.com/t/how-to-use-multiple-keys-in-plugin-build-args-from-env-using-secrets/40914/1 "2023-06-13T17:15:26Z")

</div>

I’m trying to use multiple keys with PLUGIN\_BUILD\_ARGS\_FROM\_ENV, I’m trying this  
envFrom:  
- sourceName: awscredentials  
sourceKey: AWS\_ACCESS\_KEY  
- sourceName: awscredentials  
sourceKey: AWS\_SECRET\_KEY  
env:  
PLUGIN\_BUILD\_ARGS\_FROM\_ENV: AWS\_ACCESS\_KEY,AWS\_SECRET\_KEY

But it seems like it does not work, since the pipeline never ends, stuck in “setting up executors” and never ends, if I only put one key, the pipeline works… of course, the build for my image fails since it needs both keys.

Any ideas?  
Thanks in advance
