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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d56b3c95b53f14f16604de5c4b0934fcc1f6ab857b5ccbedf32ed52ca0118a4b |
|
MD5 | b6399955c95dc71a17f4d4073a447293 |
|
BLAKE2b-256 | d5a0a203d35a4774a1e58eb5ae2b0f2367b4b79a922ea5d4367ae03b2f7bdc71 |
Close
Hashes for stacklet_client_sinistral-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 609306f251dc977c732e88acc0b18d7a643974cdeab6d5649c1c3be116a81462 |
|
MD5 | 40e969cca144de0ef676da7ea5df6219 |
|
BLAKE2b-256 | 083994a3ece3a81aab409aa62f94aac992ff5c80506e48daf403d2308f897b45 |