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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78bd3de27a9cf37470e3c8dcc4ca77fa526b296ac806cf67fb82e36b3305fb34 |
|
MD5 | 8aa2931b4bea50d1c971b9248643ad1a |
|
BLAKE2b-256 | cf54631b5e0f8c3a60ce4540897db2ce2339a6dede413eed2ec834ce09a810b6 |
Close
Hashes for stacklet_client_sinistral-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e096cc7e5afca267f13bcda67340b7963ecab1fafab851d554f8c71ce48f58 |
|
MD5 | d642bbccf940a8357f9c1864aaf3e17d |
|
BLAKE2b-256 | 904bc429edb8bcd1847f7f2fd551041c5e4df1cbd8b7b65f475d157cbfebfab4 |