authenticater

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 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 added in v1.0.4

func ApiAuth(auth client.Auth) bool

ApiAuth -> for authentication of api request

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