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
File details
Details for the file stacklet_client_sinistral-0.4.0.tar.gz
.
File metadata
- Download URL: stacklet_client_sinistral-0.4.0.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1316241f9c0c35c5c6df51d0debb22f3a27e592a865e8aca7dd3a5a0f2683737 |
|
MD5 | d7e6b8ca926645dfcc013b909b845417 |
|
BLAKE2b-256 | 9f5b141945678cf7f8d95fa1e1d538f9121521738c5848d230ec4d78add3e3b9 |
Provenance
The following attestation bundles were made for stacklet_client_sinistral-0.4.0.tar.gz
:
Publisher:
release.yaml
on stacklet/sinistral-cli
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
stacklet_client_sinistral-0.4.0.tar.gz
- Subject digest:
1316241f9c0c35c5c6df51d0debb22f3a27e592a865e8aca7dd3a5a0f2683737
- Sigstore transparency entry: 145175885
- Sigstore integration time:
- Predicate type:
File details
Details for the file stacklet_client_sinistral-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: stacklet_client_sinistral-0.4.0-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f9bce0288be75daf067a2f9c19250ab08cb253af6e7af8b1991e552ea609255 |
|
MD5 | 96525d0a24aa5d95629eca014bfb3040 |
|
BLAKE2b-256 | 3a2cecdc7f42ef82b31ad62d47a0d884c42d4e043cf521279b5dac280723a521 |
Provenance
The following attestation bundles were made for stacklet_client_sinistral-0.4.0-py3-none-any.whl
:
Publisher:
release.yaml
on stacklet/sinistral-cli
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
stacklet_client_sinistral-0.4.0-py3-none-any.whl
- Subject digest:
0f9bce0288be75daf067a2f9c19250ab08cb253af6e7af8b1991e552ea609255
- Sigstore transparency entry: 145175890
- Sigstore integration time:
- Predicate type: