Sign inSign up

bmltenabled/bash-client

Sponsored OSS

By bmltenabled

Updated almost 4 years ago

BMLT Root Server Bash Client

Image
0

2.9K

bmltenabled/bash-client repository overview

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.

Tag summary

Content type

Image

Digest

sha256:49adf7453

Size

27.7 MB

Last updated

almost 4 years ago

docker pull bmltenabled/bash-client

This week's pulls

Pulls:

10

Last week