Skip to main content

Sinistral CLI

Project description

Sinistral CLI

Setup

$ just 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.34.tar.gz (18.7 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.34-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for stacklet_client_sinistral-0.5.34.tar.gz
Algorithm Hash digest
SHA256 e409e1674042cb773155a043fb9686cf86d6a8ee7b43b913d1fa0b07e2dcf243
MD5 3b8eadd6f71256a15d900bcb55942cd6
BLAKE2b-256 f0e529ce8709b7dc57f8b6d0c1351ca073ca4a0f6b077e8440e93152021b7eee

See more details on using hashes here.

Provenance

The following attestation bundles were made for stacklet_client_sinistral-0.5.34.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.34-py3-none-any.whl.

File metadata

File hashes

Hashes for stacklet_client_sinistral-0.5.34-py3-none-any.whl
Algorithm Hash digest
SHA256 14aa4d4ce38719c3889e4883bbb6e43aa4456198b2551278dfda0dcb759493df
MD5 7610997995ee4718594a95d0558e05c6
BLAKE2b-256 cb4129f6a64b9a5a709da355636d95f00283468a04e5e3927f4e120ffb1a12bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for stacklet_client_sinistral-0.5.34-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