We are trying to figure out how to get secrets working for us. We don’t seem to have access to a secret (FOO_BAR_AUTH_KEY) that we are trying to use in our build and test config. Are we missing something or do we have a syntax error somewhere in here? Our .drone.yml is signed, so it’s not a signing issue.
This is because you are using drone exec --local which does not have access to your secrets. Only builds running on the server can access secrets. In this case you need to provide the command line utility with secrets using the --secret command line flag. See the following guide for more details http://readme.drone.io/cli/drone-exec/
The current form of drone exec doesn’t appear to accept the “–secret” or “–secrets-file” arguments anymore[1]. Is there a mechanism that can currently be used to pass secrets to a locally executed drone build?