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.0.tar.gz (11.0 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.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tradekartauth-0.1.0.tar.gz
  • Upload date:
  • Size: 11.0 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.0.tar.gz
Algorithm Hash digest
SHA256 f3bfb4190f7a9b81b1520823f7366e78a665d5438567cd916c7f1085669c7058
MD5 4daa77a029a44fa300aa89834212269e
BLAKE2b-256 060dc51369452fcfaae270a2a9595ef8062c1e632c80dbe3a1a37e93551ecd31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tradekartauth-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b989d7bce15d9e1a9c756f16a43368c26c014cbd31b3d882f76484d3aab1cfc
MD5 2c155bd64864011b50940a6e62565534
BLAKE2b-256 380f3fb985958cf6658de8665b78920968e4978769d6c82d34686f74c2a2bca8

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