Documentation ¶
Index ¶
- Constants
- Variables
- func AddCommand(app *kingpin.Application, input AddCommandInput)
- func ConfigureAddCommand(app *kingpin.Application)
- func ConfigureExecCommand(app *kingpin.Application)
- func ConfigureGlobals(app *kingpin.Application)
- func ConfigureListCommand(app *kingpin.Application)
- func ConfigureRemoveCommand(app *kingpin.Application)
- func ConfigureRotateCommand(app *kingpin.Application)
- func ExecCommand(input ExecCommandInput) error
- func LsCommand(input LsCommandInput) error
- func RemoveCommand(app *kingpin.Application, input RemoveCommandInput)
- func RotateCommand(input RotateCommandInput) error
- type AddCommandInput
- type ExecCommandInput
- type LsCommandInput
- type RemoveCommandInput
- type RotateCommandInput
Constants ¶
View Source
const (
DefaultKeyringName = "alicloud-vault"
)
Variables ¶
Functions ¶
func AddCommand ¶
func AddCommand(app *kingpin.Application, input AddCommandInput)
func ConfigureAddCommand ¶
func ConfigureAddCommand(app *kingpin.Application)
func ConfigureExecCommand ¶
func ConfigureExecCommand(app *kingpin.Application)
func ConfigureGlobals ¶
func ConfigureGlobals(app *kingpin.Application)
ConfigureGlobals configures all global keyring settings
func ConfigureListCommand ¶
func ConfigureListCommand(app *kingpin.Application)
func ConfigureRemoveCommand ¶
func ConfigureRemoveCommand(app *kingpin.Application)
func ConfigureRotateCommand ¶
func ConfigureRotateCommand(app *kingpin.Application)
func ExecCommand ¶
func ExecCommand(input ExecCommandInput) error
func LsCommand ¶
func LsCommand(input LsCommandInput) error
func RemoveCommand ¶
func RemoveCommand(app *kingpin.Application, input RemoveCommandInput)
func RotateCommand ¶
func RotateCommand(input RotateCommandInput) error
Types ¶
type AddCommandInput ¶
type AddCommandInput struct { ProfileName string Keyring *vault.CredentialKeyring FromEnv bool }
type ExecCommandInput ¶
type LsCommandInput ¶
type LsCommandInput struct { Keyring *vault.CredentialKeyring OnlyProfiles bool OnlyCredentials bool }
type RemoveCommandInput ¶
type RemoveCommandInput struct { ProfileName string AliyunCliProfil bool Keyring *vault.CredentialKeyring }
type RotateCommandInput ¶
type RotateCommandInput struct { ProfileName string UserName string Keyring *vault.CredentialKeyring }
Click to show internal directories.
Click to hide internal directories.