Skip to main content

TradeKart authentication and RBAC for private tools (Cognito JWT + role permissions).

Project description

Tradekartauth

TradeKart authentication package for private tools.

CDK pipeline: if a stage fails

cdk deploy only creates CodePipeline; failures after that happen inside AWS (Synth, UpdatePipeline, or Publish).

  1. Open CodePipelineTradekartAuthPipeline → click the failed execution → open the failed stage (red).
  2. Open Details / View in CodeBuild and read the log tail (the last error line is what matters).
Stage Typical causes
Source Bitbucket connection not Available; wrong repo / branch; repo missing infra/package-lock.json.
Build (Synth) npm ci / tsc must run inside infra/ — the pipeline uses cd infra && … in one shell. Ensure infra/package-lock.json is committed.
UpdatePipeline CDK bootstrap / IAM for self-mutation; upgrade CDK bootstrap if prompted.
Publish PyPI token wrong or secret is JSON not raw token; bump version in version.py if twine says file already exists; KMS permission if secret uses a CMK.

Secret format: TWINE_PASSWORD must be the raw PyPI token (pypi-Ag...). If you stored JSON in Secrets Manager, either switch to plaintext or adjust the pipeline to parse JSON.

After changing infra/lib/pipeline-stack.ts, run cd infra && npm run build && npx cdk deploy ... again to update the pipeline.

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

tradekartauth-0.1.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

tradekartauth-0.1.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file tradekartauth-0.1.1.tar.gz.

File metadata

  • Download URL: tradekartauth-0.1.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for tradekartauth-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3dc4e8e140de675a1b7553dbbbe922ab4c9be97f8539c4b4dd85ee5e9aba13ce
MD5 8585563b21a4c25a7b6164ba9dccd279
BLAKE2b-256 f3b6a1a771a1ca08dae2c06b7329b2ba99a4fad9f8d7f83ea2c2f20c1d410e6d

See more details on using hashes here.

File details

Details for the file tradekartauth-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tradekartauth-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for tradekartauth-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ddd3cf401daad8a97c37de3a59020bb99da4324aef738392049baf38c30f055
MD5 4475ba96c7cfcef34e171c04d4ac6b31
BLAKE2b-256 00129e1cae04a5e581efea0f842ed46c76fa0df80b13d317212cd7cc0ac43709

See more details on using hashes here.

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