Is it possible to dynamically interact with drone secrets?

My code contains a list of secret variable names, which can be changed by developers. During build stage, I would like to iterate through those variables and for each one retrieve a secret from drone. Is this possible? If not, what is the alternative?

Say I have:


SECRET_URL iterated through lines above, and for each variable name retrieves secret from drone. Then creates secrets.conf

DB_PASS = irj843utw84utwo8eut

Can this be done?

this is not possible. the only way to inject secrets into a pipeline and make available to your pipeline steps is through yaml configuration, as shown in the docs at