You can open developer tools (F12) and see in the UI what is happening when you create a new queue 🙂
if u say clearml have good security.. i dont agree.. i dont see any username & password authentication.. its open server
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
Instead of the cookie you need to use Basic Auth, with the username and password
@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
This is a configuration you need to do before starting the server
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
so single script i can create master & worker.. this my concern sir.. if you csnt help also let me know.. thanks
i hope u understand my concern.. i want to install clearml server & cleaerml agen together.. same script..
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)
The dynamic access creation is only dont by the UI
The reason am asking.. while agen is spin up.. it will add queue also ..
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.
Also, please don't send messages to the channel when posting in a thread
user creation even it will work after containers is up right
but missing part now.. queue.. this one even not there in doc..little worried now 🥶
Yes, this is how to create fixed users
this is my scirpt working fine.. thnks for the help..
yeah i tried.. but its needed access key & secret ley
i hope you are saying this method.. i tried but i dont see any changes in UI, how can i verify sir
@<1561885921379356672:profile|GorgeousPuppy74> user credentials cannot be set from the configuration files - they are dynamically created (and can also be revoked by the user).
okay.. this clearml dynamic access creation how its work..
