Skip to main content

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, Tab switches panes
  • Enter on a project — load its keys
  • u set the highlighted project as active
  • n new (project or key, depending on focused pane), e edit key, d delete, r reveal key string
  • F5 refresh, q quit

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

ign8google-0.2.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

ign8google-0.2.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

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

Hashes for ign8google-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0f85742dd47fd5a76257a4eca833905b026c3a031f30fe11426f84eb824808dd
MD5 32a04f12e4d348f445a9de42da671c34
BLAKE2b-256 5d1a698fffa1c6e61cf6602e6828eb4eec630e34b3d16eb26e6ed66caec38ff8

See more details on using hashes here.

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

Hashes for ign8google-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12bf85450a2d3a08e87759ba8cd559abf2ba034482b280d34d5152d7c1b12fbc
MD5 06b1e7f5968e4fe5d877b5249b32b3cd
BLAKE2b-256 7aead53831e3135f03a6b300d92eef4d23b517fd7e29f150b8188c3fc9b757b3

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