Skip to main content

Generate, Sign and verify JWTs using GCP KMS.

Project description

GCP-JWT

GCP-JWT is a library to create and sign tokens using the Google Cloud Platform's Key Management Service. It handles the signing and verification of the token.

Key Features

  • Token Signage
  • Signature Verification
  • Expiry Verification

  • Auto Rotating Asymmetric Key
  • Batch Token Generation
  • Compression Option
  • Symmetrically Encrypted Layer
  • Pretty API

GCP Roles Needed

To be able to use this library you'll need a GCP service account with at least the following roles:

  • cloudkms.cryptoKeyVersions.list
  • cloudkms.cryptoKeyVersions.useToSign
  • cloudkms.cryptoKeyVersions.viewPublicKey

Install

Using PIP : pip install gcp-jwt

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

gcp-jwt-0.1.5.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

gcp_jwt-0.1.5-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page