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.1.0.tar.gz (9.5 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.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file ign8google-0.1.0.tar.gz.

File metadata

  • Download URL: ign8google-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ign8google-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad37b4aa7eda1f0ce830b68fd3b791c8519e1b547ed97db6a25fad9ac8b1f4b9
MD5 bc54f3265081ded7a2f625eb5675cc58
BLAKE2b-256 7742400e6a639d1693472b45a8190cbd8846ffa215c611fc8d0350bc761ad6de

See more details on using hashes here.

File details

Details for the file ign8google-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ign8google-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d01b0003aacc1f6e872ecc8d6ddddea4d3898e6b5ff37f41519620eab351f309
MD5 97eebddc20b0236a6653240f86d77db2
BLAKE2b-256 f3f2e29c2abd2cc0b086f5415612b60e3ac40d5da87d8d8e8d35f5990c5c4a4d

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