auth

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package auth provides the auth command project for the minder CLI.

Index

Constants

This section is empty.

Variables

View Source
var AuthCmd = &cobra.Command{
	Use:   "auth",
	Short: "Authorize and manage accounts within a minder control plane",
	Long: `The minder auth command project lets you create accounts and grant or revoke
authorization to existing accounts within a minder control plane.`,

	RunE: func(cmd *cobra.Command, _ []string) error {
		return cmd.Usage()
	},
}

AuthCmd represents the account command

View Source
var OfflineTokenCmd = &cobra.Command{
	Use:   "offline-token",
	Short: "Manage offline tokens",
	Long: `The minder auth offline-token command project lets you manage offline tokens
for the minder control plane.

Offline tokens are used to authenticate to the minder control plane without
requiring the user's presence. This is useful for long-running processes
that need to authenticate to the control plane.`,

	RunE: func(cmd *cobra.Command, _ []string) error {
		return cmd.Usage()
	},
}

OfflineTokenCmd represents the offline-token set of sub-commands

Functions

func LoginCommand added in v0.0.32

func LoginCommand(cmd *cobra.Command, _ []string) error

LoginCommand is the login subcommand

func TokenCommand added in v0.0.47

func TokenCommand(cmd *cobra.Command, _ []string) error

TokenCommand is the token subcommand

Types

This section is empty.

Jump to

Keyboard shortcuts

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