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", "username": "ChirpstackMonitoring",
"password": "XXXXXXXXXXXX" "password": "qX2bK6oN2iC1cQ5c"
} }
\ No newline at end of file
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
# Generate the reports # Generate the reports
# ------------------------------------------------ # ------------------------------------------------
USERNAME=admin USERNAME=$(jq --raw-output ".username" .credentials.json)
PASSWORD=XXXXXXXXXXXXXXXX PASSWORD=$(jq --raw-output ".password" .credentials.json)
JWT=$(./get_jwt.sh $USERNAME $PASSWORD) JWT=$(./get_jwt.sh $USERNAME $PASSWORD)
......
Supports Markdown
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