Commit 5f9c358d authored by Antoine Blanquet's avatar Antoine Blanquet
Browse files

taTaking Information Account from crendential.json file --> code more Secure and Generic

parent 08accb30
{
"username": "admin",
"password": "XXXXXXXXXXXX"
"username": "ChirpstackMonitoring",
"password": "qX2bK6oN2iC1cQ5c"
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
# Generate the reports
# ------------------------------------------------
USERNAME=admin
PASSWORD=XXXXXXXXXXXXXXXX
USERNAME=$(jq --raw-output ".username" .credentials.json)
PASSWORD=$(jq --raw-output ".password" .credentials.json)
JWT=$(./get_jwt.sh $USERNAME $PASSWORD)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment