asm

package
v1.31.0-coveo.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerAuthFromASM

func GetDockerAuthFromASM(secretID string, client secretsmanageriface.SecretsManagerAPI) (types.AuthConfig, error)

GetDockerAuthFromASM makes the api call to the AWS Secrets Manager service to retrieve the docker auth data

func GetSecretFromASM

func GetSecretFromASM(secretID string, client secretsmanageriface.SecretsManagerAPI) (string, error)

GetSecretFromASM makes the api call to the AWS Secrets Manager service to retrieve the secret value

Types

type AuthDataValue

type AuthDataValue struct {
	Username *string
	Password *string
}

AuthDataValue is the schema for the SecretStringValue returned by ASM

Directories

Path Synopsis
mocks
Package mock_factory is a generated GoMock package.
Package mock_factory is a generated GoMock package.
Package mock_secretsmanageriface is a generated GoMock package.
Package mock_secretsmanageriface is a generated GoMock package.

Jump to

Keyboard shortcuts

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