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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tradekartauth-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ec6d1d5f77e694d32f721312f2e586b3367bee0b95483dd678573da001fa230c
MD5 589ef4536319a17dd55e88bb2c498f27
BLAKE2b-256 312545fd60fedd559080d17a19a210bad1a459917f6e44e61f2ce6b781f797b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tradekartauth-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd303c59397e24efd186b5f7abc084ffc2dda45b35fbf47d136264500a87d6bf
MD5 4e1fad4c924d38e1d872e1fe8ca58807
BLAKE2b-256 fafbb3dff763dc6ccf3f5afeaa15335d2b4b8dae12432b4aade7aa19590e5e5e

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