0.9.4 • Published 5 years ago

google-identity-admin v0.9.4

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Google Identity Platform Admin CLI

gia is a command line tool that provides CI/CD friendly approach to administrate Google Identity Platform including tenants and user accounts management.

Install

$ npm install google-identity-admin

Usage

Authentication

In order to let gia authenticate to your Google project, you need to provide authentication credentials by setting the environment variable GOOGLE_APPLICATION_CREDENTIALS. Replace [PATH] with the file path of the JSON file that contains your service account key, and [FILE_NAME] with the filename.

$ export GOOGLE_APPLICATION_CREDENTIALS="/[PATH]/[FILE_NAME].json"

Alternatively, you can provide the path to service account key JSON file using -k or --key-file command line option.

Tenant management

Listing existing tenants

$ gia tenant list
[
  {
    tenantId: 'test-8zsx9',
    displayName: 'test',
    emailSignInConfig: { enabled: true, passwordRequired: true }
  }
]