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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abf18be4cb69d8c5c444edfd48ff3ae7740d6d9dc3b9c349ae7c52382adf0ff6
|
|
| MD5 |
5349bc8b08eae792a601ba54ad68b9ce
|
|
| BLAKE2b-256 |
cf38813b57889b3dcb3df4d5a64a2c45a0d1d9d8aa3318167899411ad61b6b09
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e44fffb75e4f3dccaa72f0d253475771569ed3105824ae7e73f07f37082eaf6
|
|
| MD5 |
2a7d1df18a226ea627fe3a019c2f882e
|
|
| BLAKE2b-256 |
9f94e22a4c809c72288452c9e83cd3b78dc4461a0fc5c1a73cc572f7799dc1f8
|