Declare needed secrets
The .arkindex.yml
file should allow for a list of needed secrets:
workers:
- name: XXX
secrets:
- dev/xxx/api_key_for_service
The base worker should then make sure those secrets are available to the worker implementations as self.secrets
.
An error should be thrown at boot time if a secret is not available