aws-toolkit-azure-devops
aws-toolkit-azure-devops copied to clipboard
Percent in plaintext secret changed to "%25" when using Secrets Manager Get Secret task
Describe the bug
Percent in plaintext secret changed to "%25" when using Secrets Manager Get Secret task.
To reproduce When fetching the secret using the AWS Toolkit for Microsoft Azure, the percent symbol is getting encoded and thus the authentication fails. The value being populated into the build variable appears to encode that symbol as "%25" instead of leaving it as just a percent symbol.
This is also the case for encrypted secrets. We just spent half a day debugging a pipeline issue.
In our use case a database password was stored in SSM and contained a %
within the password. This ultimately was decoded out to %25