Support Auth-Header for SPLUNK_APPS_URL
hanswurscht opened this issue · comments
Hi,
we are trying to deploy our own apps which are stored in artifactory. In order to download apps from artifactory, we need to use some form of authentication.
Right now, SPLUNK_APPS_URL
does not support that.
I tried to encode the username/password in the url, but it didn't work either.
The implementation could probably be quite similar to this pull request (which was for DEFAULTS): #pr619
Adding SPLUNK_DEFAULTS_HTTP_AUTH_HEADER support during default.yml fetch #619
Can this be added?
Thanks!
- Lorenz
Sorry, but the linked PR is wrong as the authentication data is not used in ansible at all.
I was able to fix my problem by implementing new environment Variables SPLUNK_APPS_URL_USERNAME
and SPLUNK_APPS_URL_PASSWORD
. For this, changes in environ.py
and install_apps.yaml
are needed.
Is there a chance this will be accepted? Then i could provide a pull request with my changes.
- Lorenz