Skip to main content

CLI to manage custom claims of Firebase users

Project description

Welcome to claim-master's source repository.

Firebase doesn't allow you to edit auth users' custom claims from the console. The Admin SDK is the only way to edit custom claims. claim-master is a command line tool that allows you to modify and view custom claims with simple commands.

Usage

Since this tool uses the Firebase Admin SDK, you must have a firebase-service-account.json file.

# View claims with an email or UID
# Must specify the firebase-service-account.json location
cm view myemail@gmail.com -k firebase-service-account.json
cm view qj82qM78GND72q98x -k firebase-service-account.json

# Set claims with an email or UID
cm set myemail@gmail.com '{"admin":true}' -k firebase-service-account.json
cm set qj82qM78GND72q98x '{"admin":true}' -k firebase-service-account.json

License

GPL v3.0 or later; check the LICENSE file for details.

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

claim_master-1.0.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

claim_master-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file claim_master-1.0.0.tar.gz.

File metadata

  • Download URL: claim_master-1.0.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claim_master-1.0.0.tar.gz
Algorithm Hash digest
SHA256 abf18be4cb69d8c5c444edfd48ff3ae7740d6d9dc3b9c349ae7c52382adf0ff6
MD5 5349bc8b08eae792a601ba54ad68b9ce
BLAKE2b-256 cf38813b57889b3dcb3df4d5a64a2c45a0d1d9d8aa3318167899411ad61b6b09

See more details on using hashes here.

File details

Details for the file claim_master-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: claim_master-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claim_master-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e44fffb75e4f3dccaa72f0d253475771569ed3105824ae7e73f07f37082eaf6
MD5 2a7d1df18a226ea627fe3a019c2f882e
BLAKE2b-256 9f94e22a4c809c72288452c9e83cd3b78dc4461a0fc5c1a73cc572f7799dc1f8

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