Sinistral CLI
Project description
Sinistral CLI
Setup
$ poetry shell
$ poetry install
Create a config file at ~/.stacklet/sinistral/config.json
:
{
"api": "https://api.sinistral.stacklet.io",
"region": "us-east-1",
"cognito_client_id": "5bogrjv9om1tjhfsd1c8d2kouo",
"cognito_user_pool_id": "us-east-1_F4Ca4BFQS",
"idp_id": "idp-4a301a48-cd63-4c6c-caf7-419c5b0ee737",
"auth_url": "https://auth.sinistral.stacklet.io"
}
Login with a cognito user:
$ sinistral login --username $USER --password $PASSWORD
Or, login with SSO:
$ sinistral login
Run your first command:
$ sinistral projects list
Python client:
from stacklet.client.sinistral.client import sinistral_client
sinistral = sinistral_client()
policy_client = sinistral.client('policies')
print(policy_client.list())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for stacklet_client_sinistral-0.2.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a561ab50260fee32d1c1c8ade4fec0813c2021c263d5996606846a128819fc50 |
|
MD5 | 448cd9241a0da10d33b42508d1fe9bd8 |
|
BLAKE2b-256 | 252f5770ab3dd5d3293a5c26d408de2a34943db04dfa0feb3f7943332f8309b7 |
Close
Hashes for stacklet_client_sinistral-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6823bd8c4620737f208b9297fa577a6dfb8d30c895e0ec1b2941e28fc1b4b36a |
|
MD5 | ae6e8be7322ea47fc8e662a746e88e95 |
|
BLAKE2b-256 | 54101f052cdccee5195461716c4a6bb311d8c5beaad762cf34799a1d4ab1ce96 |