asm

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 7 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

func GetSecretFromASMWithInput added in v1.37.0

func GetSecretFromASMWithInput(input *secretsmanager.GetSecretValueInput,
	client secretsmanageriface.SecretsManagerAPI, jsonKey string) (string, error)

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