asm

package
v0.0.0-...-a080504 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 10 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

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