Hello Everyone,
I’m a Devops Engineer , who worked with rundeck for few years, both for personal and profesional projects.
I’m trying to use Rundeck “remoteURL” feature to list as values some informations regarding container stacks on dockhand platform.
Everything is collected and working perfectly when dockhand authentication is disabled, but when authentication is enabled, i’m unable to make it work. Dockhand can only authenticate on API with a bearer token that it generated like in this call :
curl -X GET -H "Authorization: Bearer dh_mytokengeneratedbydockhand" https://dockhand-platform.test/api/stacks?env=1 -s | jq .[].name
"dockhand"
"gitlab-ce"
"technitium"
But i’m unable to reproduce this behavior with remoteURL configuration. I did try to add my token in rundeck key storage, in “password” type , then select Bearer in authentication type and filling the rundeck key.
The result seems to always be a 401 unauthorized error, and it seems that if I edit my job again, the authentication fields with the previously filled rundeck key seems to be empty / or resetted.
NB : everything is working out-of the box without any authentication on dockhand side.
Am I missing / misunderstanding something regarding this use case ? I’m using docker official image for rundeck community. I wanted to try my luck on the rundeck-discuss google group but it seems that this is the new entrypoint now. No errors seems to be printed on rundeck side.
Thank you so much for your help and support.
Regards,

