Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Projets-INFO4
20-21
18
chirpstack-monitoring
Commits
5f9c358d
Commit
5f9c358d
authored
Mar 01, 2021
by
Antoine Blanquet
Browse files
taTaking Information Account from crendential.json file --> code more Secure and Generic
parent
08accb30
Changes
2
Hide whitespace changes
Inline
Side-by-side
reports/credentials.tmpl.json
View file @
5f9c358d
{
{
"username"
:
"
adm
in"
,
"username"
:
"
ChirpstackMonitor
in
g
"
,
"password"
:
"
XXXXXXXXXXXX
"
"password"
:
"
qX2bK6oN2iC1cQ5c
"
}
}
\ No newline at end of file
reports/generate_reports.sh
View file @
5f9c358d
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment