Unanswered
Hi! Could Someone Clarify If There Is A Way To Get The Credentials Without Going To The Ui -> "Workspace" And Click "Create New Credentials" And Use The Value Provided? Like A Api Call?
examples that i tested:
# Step 1: Create a user via the web UI API
CREATE_USER_URL="http://${NODE_IP}:30080/api/v2.31/auth.create_user"
USER_PAYLOAD='{"email": "k8s-agent@clearml.ai", "name": "k8s-agent", "company": "clearml", "given_name": "k8s", "family_name": "agent"}'
CREATE_USER_RESPONSE=$(curl -s -X POST \
-H "Content-Type: application/json" \
-d "$USER_PAYLOAD" \
"$CREATE_USER_URL")
49 Views
0
Answers
one month ago
one month ago