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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239c27be1c2097b0c8a79c58c83423269f448326b999789cdc0ce40168398254 |
|
MD5 | 8cc2807ef85c3bb980d024abd9e81214 |
|
BLAKE2b-256 | 84e6c2d356817db7c91d43c40b6f523daa69905a53c5852376c4af9fdc284e09 |
Close
Hashes for stacklet_client_sinistral-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9661437139ae2641cada516e47fc8236f183f6faef1fd7186bcdf39bbbb5ec54 |
|
MD5 | e7b3bee0cc1ac2dfc58955d92cd5e8c1 |
|
BLAKE2b-256 | 36a5e5bcac1dc7134056a2d4e622305718e140439f737077ff1190e4ab52c590 |