Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stacklet_client_sinistral-0.5.32.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stacklet_client_sinistral-0.5.32-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file stacklet_client_sinistral-0.5.32.tar.gz.

File metadata

File hashes

Hashes for stacklet_client_sinistral-0.5.32.tar.gz
Algorithm Hash digest
SHA256 c65b0344e7431d52a677d28b8ffca88ffac6fc8cddfb8c7080ae3b05b23ca636
MD5 8adca990236edbc014a87388a96d1145
BLAKE2b-256 c2de2e5e3df07a9c153c26e77b75ddc25f602d8da4ae06a83a60c13e6ee9a8ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for stacklet_client_sinistral-0.5.32.tar.gz:

Publisher: release.yaml on stacklet/sinistral-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stacklet_client_sinistral-0.5.32-py3-none-any.whl.

File metadata

File hashes

Hashes for stacklet_client_sinistral-0.5.32-py3-none-any.whl
Algorithm Hash digest
SHA256 a92f5829053763cf346429a738f2027b2d73b5b4b6fa474ea825485f22beef09
MD5 7de455f38b61c1db9cf59599448e94e0
BLAKE2b-256 29dd49d315485f22b61c8b2378d994de145528382d723b37ac5b51fb4cb5ab6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for stacklet_client_sinistral-0.5.32-py3-none-any.whl:

Publisher: release.yaml on stacklet/sinistral-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page