secretsmanagerauth

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(conf Config)

Configure will configure the package

func GetTokens

func GetTokens(ctx context.Context) auth.Tokens

GetTokens will return the cached tokens

func SignIn

func SignIn(ctx context.Context) error

SignIn will fetch credentials from the Secret Manager and Sign In using those credentials

Types

type Config

type Config struct {
	AWSSession *session.Session
	SecretKey  string
	Stage      string
}

Config is the configuration of the package

Jump to

Keyboard shortcuts

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