Fill sensitive field with script generated env variable

#1

Greetings,

I would like to use “deploy to bitrise.io” step “Notify email” field with dynamic email list (based on the user who triggered the actual build in gitlab), but the field is sensitive so i can only use constant secrets.
Is there any workaround to use this field with an env var generated by a previous script step, or write data into a secret whit a script?

Thanks,
Tamas

0 Likes

#2

Hi @szabot!

Thanks for raising this question. You could use our envman tool to overwrite secrets through a script just as with regular environment variables.
This is best explained here: https://devcenter.bitrise.io/tips-and-tricks/expose-environment-variable/

0 Likes

#3

Hi @bitce,

Thank you for the answer.
I tried envman but i mistyped the syntax and i tought it’s not working for secrets.
My fault.

1 Like

closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes