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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87ac2bf8eba6d76de6cafdac7f05dcee9fe7a95531753ebd161bae70ae96daf8 |
|
MD5 | 0fde0ff057fa31baa9b3b6ec5aed24c2 |
|
BLAKE2b-256 | 628c6c7f72db5c07624e29f1d00b3f70020740bf6e19e6058fb70806e4a27634 |
Close
Hashes for stacklet_client_sinistral-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a842cf9519cd4da3a96752cada7930a9059e77516e0e2230e1164c6a122183 |
|
MD5 | 0ba69dfe76bfffadaf34e36e3a957dd4 |
|
BLAKE2b-256 | ebd861f02b25e5b32120d30317a8f74b71cc9946b361f6e43f087197a89a22b2 |