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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3a80e8faf563c50ffd9b1be58d8e3b121f93ee1bec6a243316a5482b4fa9d9c |
|
MD5 | 21b62adacadd673f2aff4722e6db2be6 |
|
BLAKE2b-256 | 18aaff276d6a30b1f6ded60c1c4bddc7165451ec7e79836e0f8b939c4902e837 |
Close
Hashes for stacklet_client_sinistral-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c55daf6d36df30a9935849bf2f5a314a1d731ee94c620ae64163e6fe173e54 |
|
MD5 | 105809427e6286caf015fe2795ee651f |
|
BLAKE2b-256 | d984816c014443463b08831cf8c5253204fd298b37e82fd62319941750733ccc |