@<1523701087100473344:profile|SuccessfulKoala55>
So you mean creating credentials, not a token?
And you are using fixed users in the server setup?
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')
Assuming $CLEARML_SERVER
contains the full API server endpoint (usually with port 8008)
Hi @<1561885921379356672:profile|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.
Are you using your own local server, or app.clear.ml?
@<1523701087100473344:profile|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
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?
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
@<1561885921379356672:profile|GorgeousPuppy74> how do you want to use this token?
even i noticed, there is no dockument to create username & password.. i mean clearml server UI.
Hi @<1561885921379356672:profile|GorgeousPuppy74> , yes it should be possible
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.
@<1523701087100473344:profile|SuccessfulKoala55> i didnt saw any user creation option, its just asked put name. thats it