auth

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Overview

Package auth provides CLI commands for authentication management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandAlias added in v0.29.0

func CommandAlias(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandAlias creates the 'auth alias' command group for managing static hostname aliases (auth.handlers.<name>.hostname.aliases).

func CommandAuth

func CommandAuth(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandAuth creates the 'auth' command group.

func CommandDiagnose added in v0.5.0

func CommandDiagnose(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandDiagnose creates the 'auth diagnose' command.

func CommandHandlers added in v0.15.0

func CommandHandlers(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandHandlers creates the 'auth handlers' command.

func CommandList added in v0.5.0

func CommandList(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandList creates the 'auth list' command. It shows metadata for all cached tokens (refresh and minted access) for the specified handler, or for all handlers when no argument is given. Actual token values are never displayed; use 'auth token' for that.

func CommandLogin

func CommandLogin(cliParams *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command

CommandLogin creates the 'auth login' command.

func CommandLogout

func CommandLogout(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandLogout creates the 'auth logout' command.

func CommandMigrate added in v0.15.0

func CommandMigrate(cliParams *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command

CommandMigrate creates the 'auth migrate' command for proactive pre-Stage-B migration.

func CommandProfile added in v0.17.0

func CommandProfile(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandProfile creates the 'auth profile' command group.

func CommandProfileDelete added in v0.17.0

func CommandProfileDelete(cliParams *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command

CommandProfileDelete creates the 'auth profile delete' command.

func CommandStatus

func CommandStatus(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandStatus creates the 'auth status' command.

func CommandSwitch added in v0.17.0

func CommandSwitch(cliParams *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command

CommandSwitch creates the 'auth switch' command.

func CommandToken

func CommandToken(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandToken creates the 'auth token' command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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