authenticator

package
v0.0.0-...-a6be7af Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientAuth client.Auth

ClientAuth for storing auth data

Functions

func ApiAuth

func ApiAuth(auth client.Auth) bool

ApiAuth -> for authentication of api request

func AuthenticateData

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

func ChildCommandAuth

func ChildCommandAuth(cmd *cobra.Command) bool

ChildCommandAuth -> For validation of child command

func RootCommandAuth

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