# Functions
CreateSecretKeyValue - This function creates a secret string
Parameters: sess: a valid AWS session name: the name of the secret to create description: the description for the secret secret: a hashmap of key/value secret pairs
Example: err := CreateSecretKeyValue(mySession, secretName, secretDesc, secMap).
CreateSecretString - This function creates a secret string
Parameters: sess: a valid AWS session name: the name of the secret to create description: the description for the secret secret: the secret string
Example: err := CreateSecretString(mySession, secretName, secretDesc, secretString).
DeleteSecret - This function deletes a secret
Parameters: sess: a valid AWS session secretName: the name of the secret to delete
Example: err := DeleteSecret(mySession, secretName).
DescribeSecret - This function retrieves the metadata about a secret
Parameters: sess: a valid AWS session secretName: the name of the secret to fetch
Example: secretString, err := DescribeSecret(mySession, secretName).
GetSecretArn - This function retrieves the Amazon Resource Name (ARN) for the secret
Parameters: sess: a valid AWS session secretName: the name of the secret to get the ARN for
Example: val, err := GetSecretArn(mySession, "fred").
GetSecretKeyValue - This function retrieves a hashmap of secret key-value pairs
Parameters: sess: a valid AWS session secretName: the name of the secret to fetch
Example: secretKV, err := GetSecretKeyValue(mySession, secretName).
GetSecretString - This function retrieves a secret string
Parameters: sess: a valid AWS session secretName: the name of the secret to fetch
Example: secretString, err := GetSecretString(mySession, secretName).
SecretExists - This function checks if the specified secret exists
Parameters: sess: a valid AWS session secretName: the name of the secret to check
Example: val, err := SecretExists(mySession, "fred").