Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSecretJSON ¶ added in v0.0.2
func GetSecretJSON(i GetSecretJSONInput, log *zerolog.Logger) (string, error)
GetSecretJSON returns the secret JSON document as a string
func LookupJSONKey ¶ added in v0.0.2
LookupJSONKey Given a key and a JSONDoc string that is amap, return the value
Types ¶
type GetRemoteCredentialsOutput ¶
type GetRemoteCredentialsOutput struct { //The sha256sum of the AWS SM secret json document SecretSha256sum string // Value retrieved using the JSON key JSONValue string // Sha256sum of the retrieved using the JSON key JSONValueSha256sum string }
GetRemoteCredentialsOutput The output includes the credentiols and the sha256 some of the username, toke and the AWS SM secret document. the sha256sum makes it easier to test and troubleshoot bad values without compromising the secure data
func GetRemoteCredentials ¶
func GetRemoteCredentials(i GetRemoteCredentialsInput, log *zerolog.Logger) (GetRemoteCredentialsOutput, error)
GetRemoteCredentials returns the remote credentials and sha256sums
type GetSecretJSONInput ¶ added in v0.0.2
type GetSecretJSONInput struct { // The AWS SecretManager secret identifier. ex: /path/to/my/secret AWSSMSecretID string }
Click to show internal directories.
Click to hide internal directories.