The reason am asking.. while agen is spin up.. it will add queue also ..
@<1561885921379356672:profile|GorgeousPuppy74> user credentials cannot be set from the configuration files - they are dynamically created (and can also be revoked by the user).
i am saying in the UI, if u give all in UI .. then give to UI.. why u mixing all.. becz of this password auth issue.. i am trying to do all from backend
@<1523701087100473344:profile|SuccessfulKoala55> @<1523701070390366208:profile|CostlyOstrich36> thanks for the help.. i created creds.. using this command
curl -s -u "antony:antony"
now i need help to bypass clearml-init manual paste key its wont support .. any other bypass is available
You can just copy a ready clearml.conf file and replace the credentials there, you don't actually need to call clearml-init
my concern.. is .. if you can explain how to create access key & secret key from backend then all good..
Hi @<1561885921379356672:profile|GorgeousPuppy74> , you can get the key/secret pair from the ClearML UI.
I think this is the documentation you were looking for: None
You can access the settings page via the profile icon at the top right.
user creation even it will work after containers is up right
The dynamic access creation is only dont by the UI
once the server is up, you cannot change it
so single script i can create master & worker.. this my concern sir.. if you csnt help also let me know.. thanks
or before i have to do?? my case this one also its not working
okay.. this clearml dynamic access creation how its work..
Instead of the cookie you need to use Basic Auth, with the username and password
this will work but i need clearml_basic_token or secret key & accesss key
Also, please don't send messages to the channel when posting in a thread
@<1523701087100473344:profile|SuccessfulKoala55> @<1523701070390366208:profile|CostlyOstrich36> do u have any idea??
this is my scirpt working fine.. thnks for the help..
i hope you are saying this method.. i tried but i dont see any changes in UI, how can i verify sir
You can see the API calls done by the UI, theoretically you can use the same REST API calls to do it yourself, if you'd like
Yes, this is how to create fixed users
You need to authenticate your communication with the ClearML server initially somehow, no? Otherwise basically anyone can create credentials on your server...
After you have authentication you can create credentials via the terminal.
You can create up to 10 sets of credentials per user so if you plan on creating new credentials every time you want to run a job - this is an incorrect approach.
Therefor - you should create the credentials once and then use them as environment variables as you were suggested to do.
Makes sense?
It's totally possible, I think you need to do research on it. There are probably a few ways to do it too. I see CLEARML_API_ACCESS_KEY
& CLEARML_API_SECRET_KEY
in the docker compose - None
You should do some more digging around. One option is to see how you can generate a key/secret pair and inject them via your script into mongoDB where the credentials are stored. Another way is to see how the UI is using/getting these credentials when the server is spun up.
You can also create a "template" database with a key & secret that are already known and then spin the server up with that data already in it..
So you can definitely create a single script that can do all of this.
This is a configuration you need to do before starting the server