aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

Percent in plaintext secret changed to "%25" when using Secrets Manager Get Secret task

Open rbbarad opened this issue 2 years ago • 1 comments

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.

rbbarad avatar Jun 22 '22 21:06 rbbarad

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

kchenery avatar Jan 16 '23 04:01 kchenery