authenticater

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VaultUrl            string
	AccountId           string
	Region              string
	AcKey               string
	SecKey              string
	CrossAccountRoleArn string
	ExternalId          string
)

Functions

func AuthenticateData

func AuthenticateData(vaultUrl string, accountNo string, region string, acKey string, secKey string, crossAccountRoleArn string, externalId string) bool

AuthenticateData -> For account validation

func ChildCommandAuth added in v1.0.2

func ChildCommandAuth(cmd *cobra.Command) bool

ChildCommandAuth -> For validation of child command

func RootCommandAuth added in v1.0.2

func RootCommandAuth(cmd *cobra.Command) bool

RootCommandAuth -> For validation of parent command

Types

This section is empty.

Jump to

Keyboard shortcuts

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