BMLT Root Server Bash Client
2.9K
This Docker provides preconfigured environment for running the command line REST client for BMLT.
For convenience, you can export the following environment variables:
BMLT_HOST - server URL, e.g. https://latest.aws.bmlt.app/main_server
BMLT_APIKEY - access token, e.g. ASDASHJDG63456asdASSD
Basic usage:
Set the Host
export BMLT_HOST=https://latest.aws.bmlt.app/main_server
Get Auth Token
$ bmlt-cli authToken username==na_admin password==MyPassword
this returns the token ex. {"access_token":"8|BNTRxRPZ7vaCH1HX6Pfbos7IgSJpHmrEIgmsRaac","expires_at":1669310124,"token_type":"bearer","user_id":19}
set the api key env var
export BMLT_APIKEY="8|BNTRxRPZ7vaCH1HX6Pfbos7IgSJpHmrEIgmsRaac"
Get Users
$ bmlt-cli getUsers
Print the list of operations available on the service
$ bmlt-cli -h
Print the service description
$ bmlt-cli --about
Print detailed information about specific operation
$ bmlt-cli <operationId> -h
By default you are logged into Zsh with full autocompletion for your REST API, but you can switch to Bash, where basic autocompletion is also supported.
Content type
Image
Digest
sha256:49adf7453…
Size
27.7 MB
Last updated
almost 4 years ago
docker pull bmltenabled/bash-clientPulls:
10
Last week