Using the Grails RabbitMQ-native plugin, when using environment variable interpolation in the configuration of the Rabbit connection in the application.yml, the interpolation doesn't work:
rabbitmq:
connections:
- name: defaultConnection
host: example.com
username: ${RABBITMQ_USER}
password: bar
Leads to an AuthenticationFailureException while hardcoding the same credentials work.
Is there a workaround? I don't want to hardcode the credentials to our RabbitMQ instance...