aws / aws/aws-toolkit-azure-devops

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

Open
#478 1 comment 7 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

Open the contributing guide

Research direction

Start with the Secrets Manager Get Secret task and reproduce the issue using a secret containing a percent symbol. Trace how the fetched value is populated into the Azure DevOps build variable; done means the percent remains unencoded and authentication succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, azure, typescript
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.