google-id-token

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

google-id-token

A small application to retrieve or verify google ID token

Build Status

Requirements

Building

go build

Help output

Retrieve or verify google ID token

Usage:
  google-id-token [flags]
  google-id-token [command]

Available Commands:
  get         get cached or new token
  help        Help about any command
  new         get a new token
  print       print the decoded token
  verify      verify the token

Flags:
      --client-id string   Client ID (optional)
  -h, --help               help for google-id-token
  -t, --timeout int        Timeout in seconds (default 5)

Acquire new user credentials and google ID token

Application Default Credentials

gcloud auth application-default login
google-id-token new
google-id-token verify --id-token="$(google-id-token get)"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL