Documentation ¶
Index ¶
- func GetDockerAuthFromASM(secretID string, client secretsmanageriface.SecretsManagerAPI) (types.AuthConfig, error)
- func GetSecretFromASM(secretID string, client secretsmanageriface.SecretsManagerAPI) (string, error)
- func GetSecretFromASMWithInput(input *secretsmanager.GetSecretValueInput, ...) (string, error)
- type AuthDataValue
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 ¶
AuthDataValue is the schema for the SecretStringValue returned by ASM
Click to show internal directories.
Click to hide internal directories.