Special Characters not accepted in Azure Pipeline variable

Copper Contributor

Hi,

I'm trying to set password in pipeline variable and use that variable for encoding it in base64 format before uploading to key vault. But when i try to set password with special characters like $,",', \ etc. its not accepting.

FYI I'm trying to implement this via bash script task in Azure DevOps pipeline.

Value provided in pipeline variable: test$123*'>"pl

 

Any help would be really appreciated.

 

 

Regards

Bhuvanesh.S

2 Replies

@bhuvanesh1208 This is very critical for me, Can someone throw some light onto this.

@bhuvanesh1208 
try Url encoding the string before use.