Global InfraGlobal Infra Cloud

oidc

Manage OIDC tokens.

Edit
gi oidc

Subcommands

CommandDescription
gi oidc create-tokenCreate an OIDC token
gi oidc validate-token <token>Validate an OIDC token

Flags

create-token flags

FlagDefaultDescription
--scopeopenid profileToken scope
--audience—Token audience
--expires-in—Token expiration in seconds

Examples

# Create a token with default scope
gi oidc create-token

# Create a token with custom scope and audience
gi oidc create-token --scope "openid profile email" --audience my-app

# Create a token with expiration
gi oidc create-token --expires-in 3600

# Validate a token
gi oidc validate-token eyJhbGciOi...

On this page