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:
buildsecrets.sh iterated through lines above, and for each variable name retrieves secret from drone. Then creates secrets.conf
DB_PASS = irj843utw84utwo8eut
SECRET_URL = https://droneciisawesome.com/irj89w3ue4t34
Can this be done?