We’re looking to create a custom action to consume secrets stored in Azure Key Vault. Once consumed we would like to inject them in to the environment as secrets (similar to how GitHub Secrets are used today). These injected secrets would be consumed in later steps and discarded once the workflow has completed.
To date I have not found a way to populate environment variables, outside of Secrets) that can be passed on to other steps or a method to mark custom environment variables as requiring to be masked in the output.
If this is possible with GitHub Actions today; can you please point me to the documentation for it? If it is not possible, can you please provide this feedback to the GitHub Actions team?