static webapp:set a variable with a value containing "="
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
Hi,
If I want a variable containing and "=" character (for example an SSH PUBLIC_KEY), the set command truncates the value by the equal sign.
using `az staticwebapp appsettings set PAF="LE==CHIEN"` will set PAF=LE
Is there a way to either escape somehow escape the "=" character, or even better, to set the environment variables throw json ?
Thanks
Alex
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 57306327-4c21-d60b-758f-e7c2a23a6b5c
* Version Independent ID: 58b831b8-dcdb-d9b3-d3df-2793ef1b2a05
* Content: [az staticwebapp appsettings](https://docs.microsoft.com/en-us/cli/azure/staticwebapp/appsettings?view=azure-cli-latest#az_staticwebapp_appsettings_set)
* Content Source: [latest/docs-ref-autogen/staticwebapp/appsettings.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/staticwebapp/appsettings.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.