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.36.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.36-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for stacklet_client_sinistral-0.5.36.tar.gz
Algorithm Hash digest
SHA256 3c12dd4a6f14a6a94f0c4372144132478d9ca9a3b6f3dc78a56d1cff6dfa307e
MD5 51e8151d402264dc62a84fb2fa808f02
BLAKE2b-256 a3ec4b2c7a6730e967abd47fa96af1e5b8994577cfd2cf97cce154fecdde16f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for stacklet_client_sinistral-0.5.36-py3-none-any.whl
Algorithm Hash digest
SHA256 1bca5e6a21dcf8ff3e6e483c436ad993ead85c16bc936d9fa40c62ca63a40b17
MD5 52324d854a0fb99fc81be4fe17d56ff2
BLAKE2b-256 c118926772ae3d5476fdbe875b2027fa73b2981620a77927e9d8146d7852fa2f

See more details on using hashes here.

Provenance

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