Skip to content

Commit

Permalink
Merge pull request #14 from cyberark/fix/multiple-hash-resolution
Browse files Browse the repository at this point in the history
fix: correct resolution of multiple # in a secret identifier
  • Loading branch information
doodlesbykumbi authored Mar 9, 2019
2 parents 4a40d20 + 87f95af commit fa0d040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func RetrieveSecret(variableName string) {
svc := secretsmanager.New(sess)

// Check if key has been specified
arguments := strings.Split(variableName, "#")
arguments := strings.SplitN(variableName, "#", 2)

secretName := arguments[0]
var keyName string
Expand Down

0 comments on commit fa0d040

Please sign in to comment.