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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45f90b57799a7352e606f70b2c92538f1fba3e0a46a3cc0a7a45942261f6a25b |
|
MD5 | 92ce5270c11bc0a931bdb4ff1c6d17b8 |
|
BLAKE2b-256 | 0027b5468de9c1028cd72761570bcb2142d7a633803a9182e33bab09e29f5572 |
Close
Hashes for stacklet_client_sinistral-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20fd652372eb607d3ee6c5f1c8d6455c3410fcbafc1b46e999f94d58584076f3 |
|
MD5 | 72973f847be61c632947e3a58b098692 |
|
BLAKE2b-256 | c5d20ae8048bae5fb33496fc53efd4ed7c0f464d7c7734607078920944d8016f |