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
Documentation Is Not Good Because Beginner Or Intermiate People Cant Undeerstand, Only More 20 Years Of Exp Can I Understand.. I Checked With Exp People So I Am Saying. I Am Intermiate Guy

Documentation is not good because beginner or intermiate people cant undeerstand, only more 20 years of exp can i understand.. i checked with exp people so i am saying. i am intermiate guy

  
  
Posted 11 months ago
Votes Newest

Answers 42


Can you link to the the documentation you're referring to?

  
  
Posted 11 months ago

yeah i tried.. but its needed access key & secret ley

  
  
Posted 11 months ago

sure.. sorry for posting msg there..

  
  
Posted 11 months ago

You can just copy a ready clearml.conf file and replace the credentials there, you don't actually need to call clearml-init

  
  
Posted 11 months ago

None

  
  
Posted 11 months ago

so single script i can create master & worker.. this my concern sir.. if you csnt help also let me know.. thanks

  
  
Posted 11 months ago

The only thing you can do is, if you are using fixed users in the server configuration, you can use the fixed user's username and password as a credential set (username=key, password=secret)

  
  
Posted 11 months ago

This is a configuration you need to do before starting the server

  
  
Posted 11 months ago

but missing part now.. queue.. this one even not there in doc..little worried now 🥶

  
  
Posted 11 months ago

but i need it.. from terminal.. how to create using terminal in clearml server. this one i needed.. how to create access key & secret key using terminal

  
  
Posted 11 months ago

i tell u my issue.. i created the template to come up clearml server & clearml work worker.. so our ml enginner expecting no manual authentication. they want all automation. now your case all manual.. when we want make pipeline like jenkins..we need automation.. my expectation.. only i need access key & secret key .. how to create?? other steps i created for the template.. then i will approach to my team.. thn they start cleaml enterprises solution

  
  
Posted 11 months ago

Instead of the cookie you need to use Basic Auth, with the username and password

  
  
Posted 11 months ago

okay let me try..

  
  
Posted 11 months ago

@Jake H. 
#!/bin/bash

# Get the access key and secret key from the API response
response=$(curl -s -u "antony:antony" 
)
access_key=$(echo "$response" | jq -r '.data.credentials.access_key')
secret_key=$(echo "$response" | jq -r '.data.credentials.secret_key')

# Echo the access key and secret key
echo "Access Key: $access_key"
echo "Secret Key: $secret_key"

# Verify the presence of access key and secret key
if [[ -n "$access_key" && -n "$secret_key" ]]; then
    echo "Access key and secret key are set."
else
    echo "Access key or secret key is missing."
fi
  
  
Posted 11 months ago

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

  
  
Posted 11 months ago

@<1523701087100473344:profile|SuccessfulKoala55> @<1523701070390366208:profile|CostlyOstrich36> do u have any idea??

  
  
Posted 11 months ago

Also, please don't send messages to the channel when posting in a thread

  
  
Posted 11 months ago

this is my scirpt working fine.. thnks for the help..

  
  
Posted 11 months ago

You can open developer tools (F12) and see in the UI what is happening when you create a new queue 🙂

  
  
Posted 11 months ago

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.

  
  
Posted 11 months ago

this will work but i need clearml_basic_token or secret key & accesss key

  
  
Posted 11 months ago

The reason am asking.. while agen is spin up.. it will add queue also ..

  
  
Posted 11 months ago

@<1561885921379356672:profile|GorgeousPuppy74> user credentials cannot be set from the configuration files - they are dynamically created (and can also be revoked by the user).

  
  
Posted 11 months ago

if u say clearml have good security.. i dont agree.. i dont see any username & password authentication.. its open server

  
  
Posted 11 months ago

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.

  
  
Posted 11 months ago

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

  
  
Posted 11 months ago

my concern.. is .. if you can explain how to create access key & secret key from backend then all good..

  
  
Posted 11 months ago

You can set up username & password, it's in the documentation 🙂

  
  
Posted 11 months ago

i hope u understand my concern.. i want to install clearml server & cleaerml agen together.. same script..

  
  
Posted 11 months ago

curl '
' \
  -H 'Accept: application/json' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Cookie: clearml_token_basic=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoX3R5cGUiOiJCZWFyZXIiLCJpYXQiOjE2ODMwMDMxMDksImVudiI6Ijx1bmtub3duPiIsImV4cCI6MTY4NTU5NTEwOSwiaWRlbnRpdHkiOnsicm9sZSI6InVzZXIiLCJjb21wYW55X25hbWUiOiJjbGVhcm1sIiwidXNlcl9uYW1lIjoiZWRnZWJyaWNrcyIsInVzZXIiOiI3Zjg2YWM1NzZmZDA0MTA1YTliNjVmOTc2OGM0M2Y1OSIsImNvbXBhbnkiOiJkMWJkOTJhM2IwMzk0MDBjYmFmYzYwYTdhNWIxZTUyYiJ9LCJhcGlfdmVyc2lvbiI6IjIuMjQiLCJzZXJ2ZXJfdmVyc2lvbiI6IjEuMTAuMSIsInNlcnZlcl9idWlsZCI6IjM1OSIsImZlYXR1cmVfc2V0IjoiYmFzaWMifQ.OAH5Iq4J-nvcHN_5-5nOjS3nAIGiHXmF8-at_xYPioI' \
  -H 'Origin: 
' \
  -H 'Referer: 
' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36' \
  -H 'X-Allegro-Client: Webapp-1.10.1-359' \
  --data-raw '{}' \
  --compressed \
  --insecure
ack=$(jq -r '.[] | .credentials.access_key | select( . != null )' data)
sck=$(jq -r '.[] | .credentials.access_key | select( . != null )' data)
curl '
' \
  -H 'Accept: application/json' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Cookie: clearml_token_basic=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoX3R5cGUiOiJCZWFyZXIiLCJpYXQiOjE2ODMwMDMxMDksImVudiI6Ijx1bmtub3duPiIsImV4cCI6MTY4NTU5NTEwOSwiaWRlbnRpdHkiOnsicm9sZSI6InVzZXIiLCJjb21wYW55X25hbWUiOiJjbGVhcm1sIiwidXNlcl9uYW1lIjoiZWRnZWJyaWNrcyIsInVzZXIiOiI3Zjg2YWM1NzZmZDA0MTA1YTliNjVmOTc2OGM0M2Y1OSIsImNvbXBhbnkiOiJkMWJkOTJhM2IwMzk0MDBjYmFmYzYwYTdhNWIxZTUyYiJ9LCJhcGlfdmVyc2lvbiI6IjIuMjQiLCJzZXJ2ZXJfdmVyc2lvbiI6IjEuMTAuMSIsInNlcnZlcl9idWlsZCI6IjM1OSIsImZlYXR1cmVfc2V0IjoiYmFzaWMifQ.OAH5Iq4J-nvcHN_5-5nOjS3nAIGiHXmF8-at_xYPioI' \
  -H 'Origin: 
' \
  -H 'Referer: 
' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36' \
  -H 'X-Allegro-Client: Webapp-1.10.1-359' \
  --data-raw '{"access_key":"'$ack'","label":"random"}' \
  --compressed \
  --insecure
  
  
Posted 11 months ago
14K Views
42 Answers
11 months ago
11 months ago
Tags