Google Cloud integration for the ign8 ecosystem — manage API keys and other GCP resources from the CLI.
Project description
ign8google
Google Cloud integration for the ign8 ecosystem. Manage GCP projects and API keys from the CLI or a full-screen TUI.
Install
pip install ign8google
Authenticate
ign8google uses Application Default Credentials. Authenticate once with:
gcloud auth application-default login
The caller needs the roles/serviceusage.apiKeysAdmin role (or equivalent) on the target project, and the apikeys.googleapis.com service must be enabled.
Usage
Pick a project
ign8google projects list
ign8google projects use my-gcp-project
# or create a new one
ign8google projects create my-gcp-project --billing AAAAAA-BBBBBB-CCCCCC --use
Selection persists to .ign8google/state.json. IGN8_GOOGLE_PROJECT in .env or --project on any command overrides it.
Manage API keys
# Create a server-restricted key for Google Maps backend usage
ign8google keys create maps-server \
--allow-ip 203.0.113.10 \
--allow-ip 198.51.100.7 \
--allow-api directions.googleapis.com \
--allow-api distancematrix.googleapis.com \
--allow-api geocoding-backend.googleapis.com \
--write-env GOOGLE_MAPS_API_KEY_SERVER
ign8google keys list
ign8google keys show maps-server
ign8google keys delete maps-server
TUI
ign8google tui
Bindings:
↑/↓move within the focused pane,Tabswitches panesEnteron a project — load its keysuset the highlighted project as activennew (project or key, depending on focused pane),eedit key,ddelete,rreveal key stringF5refresh,qquit
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 ign8google-0.2.0.tar.gz.
File metadata
- Download URL: ign8google-0.2.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f85742dd47fd5a76257a4eca833905b026c3a031f30fe11426f84eb824808dd
|
|
| MD5 |
32a04f12e4d348f445a9de42da671c34
|
|
| BLAKE2b-256 |
5d1a698fffa1c6e61cf6602e6828eb4eec630e34b3d16eb26e6ed66caec38ff8
|
File details
Details for the file ign8google-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ign8google-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12bf85450a2d3a08e87759ba8cd559abf2ba034482b280d34d5152d7c1b12fbc
|
|
| MD5 |
06b1e7f5968e4fe5d877b5249b32b3cd
|
|
| BLAKE2b-256 |
7aead53831e3135f03a6b300d92eef4d23b517fd7e29f150b8188c3fc9b757b3
|