Azure / Azure/actions-workflow-samples
structured data support with GitHub secrets
- Dominant language
- Pug
- Stars
- 511
- Forks
- 657
- PR merge metrics
- No merged PRs in 30d
Description
👋 Hi all - the following document suggested storing Azure credentials as a secret in JSON format.
https://github.com/Azure/actions-workflow-samples/blob/master/assets/create-secrets-for-GitHub-workflows.md#set-secret-with-azure-credentials
> Store the above JSON as the value of a GitHub secret with a name, for example 'AZURE_CREDENTIALS'
Unfortunately this information is incorrect, as GitHub does not support JSON or any structured data for secrets.
https://docs.github.com/en/actions/reference/encrypted-secrets#naming-your-secrets
> To help ensure that GitHub redacts your secret in logs, avoid using structured data as the values of secrets. For example, avoid creating secrets that contain JSON or encoded Git blobs.
Could someone please update the document to reflect these limitations. Thanks! 🙇
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.