Hi GorgeousPuppy74 , yes it should be possible
You can easily create a token as follows:
export CLEARML_API_TOKEN=$(curl -s -u "$CLEARML_ACCESS_KEY:$CLEARML_SECRET_KEY" $CLEARML_SERVER/auth.login | jq -r '.data.token')
GorgeousPuppy74 how do you want to use this token?
And you are using fixed users in the server setup?
Assuming $CLEARML_SERVER
contains the full API server endpoint (usually with port 8008)
i tell u my expectation, once we install pip install clearml, or clearml-agent then will go clearml init, this clearml init, i wanna do in terminal only. you understood right
Are you using your own local server, or app.clear.ml?
its okay jake.. i did that. no issues.. trying clearml kubernetes now.. will ask help incase if i face any issues
Ok, and do you have a username and password you use to login to the web UI?
Hi GorgeousPuppy74 , sorry, I missed this. In the open source server, you can't create new users using the UI, but you can change the server configuration and add fixed users (see here ). This, however, is not "dynamic" and requires server restart. You can however create new credentials for an existing user, assuming you have the user's user name and password (a fixed user) using the auth.create_credentials
endpoint which requires no payload and returns a new set of credentials for the calling user.
So you mean creating credentials, not a token?
SuccessfulKoala55 i didnt saw any user creation option, its just asked put name. thats it
basically i wanna bypass clearml init or clearml-agent init, i wanna do it in ternimal only.. so do not know to create clearml credentials using terminal & save it clearml.conf file.
even i noticed, there is no dockument to create username & password.. i mean clearml server UI.
SuccessfulKoala55 sorry for the delay msg. actually i tried to connect clearml agent to clearml master from backend shell script. usually we will create api token access key from UI right. i wanna do it fully in terminal