asm

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 8

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 added in v1.23.0

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