authenticater

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 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(vaultUrl string, vaultToken string, accountNo string, region string, acKey string, secKey string, crossAccountRoleArn string, externalId string) (bool, *client.Auth)

ApiAuth -> for authentication of rest-api request

func AuthenticateData

func AuthenticateData(vaultUrl string, vaultToken string, accountNo string, region string, acKey string, secKey string, crossAccountRoleArn string, externalId string) (bool, *client.Auth)

AuthenticateData -> For account validation

func ChildCommandAuth added in v1.0.2

func ChildCommandAuth(cmd *cobra.Command) (bool, *client.Auth)

ChildCommandAuth -> For validation of child command

func RootCommandAuth added in v1.0.2

func RootCommandAuth(cmd *cobra.Command) (bool, *client.Auth)

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