Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi Jake.. Is There Any Way To Create Clearml Token From Shell( Linux ). Why Am Asking Means .. I Am Trying To Attach Clearml Agent From Command Cli. Because I Am Trying To Make A Single Script.

@<1523701087100473344:profile|SuccessfulKoala55> hi jake.. is there any way to create clearml token from shell( linux ). why am asking means .. i am trying to attach clearml agent from command CLI. because i am trying to make a single script.

  
  
Posted one year ago
Votes Newest

Answers 17


And you are using fixed users in the server setup?

  
  
Posted one year ago

@<1561885921379356672:profile|GorgeousPuppy74> how do you want to use this token?

  
  
Posted one year ago

@<1523701087100473344:profile|SuccessfulKoala55> i didnt saw any user creation option, its just asked put name. thats it

  
  
Posted one year ago

So you mean creating credentials, not a token?

  
  
Posted one year ago

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

  
  
Posted one year ago

Assuming $CLEARML_SERVER contains the full API server endpoint (usually with port 8008)

  
  
Posted one year ago

@<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

  
  
Posted one year ago

Ok, and do you have a username and password you use to login to the web UI?

  
  
Posted one year ago

Are you using your own local server, or app.clear.ml?

  
  
Posted one year ago

@<1523701087100473344:profile|SuccessfulKoala55>

  
  
Posted one year ago

Hi @<1561885921379356672:profile|GorgeousPuppy74> , yes it should be possible

  
  
Posted one year ago

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.

  
  
Posted one year ago

own local server

  
  
Posted one year ago

even i noticed, there is no dockument to create username & password.. i mean clearml server UI.

  
  
Posted one year ago

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')
  
  
Posted one year ago

its okay jake.. i did that. no issues.. trying clearml kubernetes now.. will ask help incase if i face any issues

  
  
Posted one year ago

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.

  
  
Posted one year ago
913 Views
17 Answers
one year ago
one year ago
Tags