Env vars for the webserver:
USER_KEY: some access key USER_SECRET: some secret key COMPANY_ID: "d1bd92a3b039400cbafc60a7a5b1e52b"
Env vars for the apiserver:
CLEARML__SECURE__CREDENTIALS__WEBSERVER__USER__KEY: same as the above key CLEARML__SECURE__CREDENTIALS__WEBSERVER__USER__SECRET: same as the above secret
I’m using cloud-ready helm chart (with some modifications)
So for api-server deployment:
are you sure you're using the latest docker images?
I might be wrong about the company_id 🙂 - but in case I'm wrong, you'll see it quickly since you won't be able to login with new users to the UI 🙂
No it doesn’t work from entirely new browser too. 😞
As this is a staging instance. let me remove and deploy without these changes.
The login prompt doesn’t appear (I tried removing cookies and all too)
yep it was unrelated.. sorry
Thanks for your help
btw - if you didn't login, the UI probably used a previous token. changing the session secret might have messed that up 🙂
It’s probably unrelated 😬 I’ll keep you posted.
Well, it should appear (if you cleared all cookies)
Ok I think I might have found the problem.
Oh, sorry! both user_key and user_secret are with a single underscore :)
Is this after doing a user login in the UI?
Can you show exactly what you changed in the docker compose?
Awesome info! Thanks!
What env variable should I use?
Also maybe I can block unauthenticated access to that endpoint too, I guess clearml-agent doesn’t use it!
SuccessfulKoala55 I’m getting 405 on api calls with the configuration you proposed. (btw I think USER_KEY is right, with a single underscore)
CLEARML__SECURE__HTTP__SESSION_SECRET__APISERVER
Does this one need to be changed?
no. apparently changing these variables causes something to fail.
Oh well it doesn’t work for me then… I keep getting errors.
Well, actually it's used by both ClearML SDK and agent since both start with credentials but generate a token as soon as possible (more secure and faster)
CLEARML__SECURE__HTTP__SESSION_SECRET__APISERVER
No, this is unrelated