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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95c378ab3faf0477b818d66e8085aab933308643aa36d21f26e470fdf582a20e |
|
MD5 | e1bcea06b08cc362e7d2108c28ccaaa0 |
|
BLAKE2b-256 | 668b686393e3160b69a92f597afbd5090494329906bc476047b5704e626ff9a6 |
Close
Hashes for stacklet_client_sinistral-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eb46c41035fefc4fe45254e227ab72e1bfc7b6a05e7cd782c73dcd0457dc434 |
|
MD5 | e600e442527b18216e1f7d4e3aec41e1 |
|
BLAKE2b-256 | f3d0b454bbd7e938c0a6583de6a662564e3a913ffd545b7aa18d878ea2ea6d01 |