You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: read user and password from environment variables
- read environment variables BLAZECTL_USER and BLAZECTL_USER to avoid visible credentials in process list
- added new section on environment variables to README.md
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,14 +53,23 @@ Flags:
53
53
-h, --help help for blazectl
54
54
-k, --insecure allow insecure server connections when using SSL
55
55
--no-progress don't show progress bar
56
-
--password string password information for basic authentication
56
+
--password string password information for basic authentication (env: BLAZECTL_PASSWORD)
57
57
--token string bearer token for authentication
58
-
--user string user information for basic authentication
58
+
--user string user information for basic authentication (env: BLAZECTL_USER)
59
59
-v, --version version for blazectl
60
60
61
61
Use "blazectl [command] --help" for more information about a command.
62
62
```
63
63
64
+
### Environment Variables
65
+
66
+
To avoid visible credentials in the process list (e.g. by `ps`) by passing username and password on the command line, you can also provide them via environment variables:
You can use the upload command to upload transaction bundles to your server. Currently, JSON (*.json), [gzip compressed][7] JSON (*.json.gz), [bzip2 compressed][8] JSON (*.json.bz2) and NDJSON (*.ndjson) files are supported. If you don't have any transaction bundles, you can generate some with [SyntheaTM][5].
0 commit comments