cmd

package
v0.0.0-...-32d7a98 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func GenerateAwsKMSAuthToken

func GenerateAwsKMSAuthToken(kmsAuthKeyID, kmsAuthServiceID, kmsAuthTokenValidUntil, awsProfile, awsRegion string, skipCache bool) (string, error)

GenerateAwsKMSAuthToken return kmsauth token

Types

type FailoverKmsauthSchema

type FailoverKmsauthSchema struct {
	KeyID      string `mapstructure:"key_id"`
	ServiceID  string `mapstructure:"service_id"`
	Profile    string `mapstructure:"profile"`
	Region     string `mapstructure:"region"`
	ValidUntil string `mapstructure:"valid_until"`
}

FailoverKmsauthSchema used for faiover kmsauth

type FailoverSchema

type FailoverSchema struct {
	Profile      string                `mapstructure:"profile"`
	Region       string                `mapstructure:"region"`
	FunctionName string                `mapstructure:"function_name"`
	Kmsauth      FailoverKmsauthSchema `mapstructure:"kmsauth"`
}

FailoverSchema used for faiover settings

Jump to

Keyboard shortcuts

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