Open
Description
What happened?
The azure-native.web.listStaticSiteSecrets methods return a result that is not maked as a secret so it appear in plain text when outputing it.
Expected Behavior
The listStaticSiteSecrets result should be marked as a secret.
Steps to reproduce
const staticWebApp = new web.StaticSite("stapp-vue2048-preprod", {
resourceGroupName: resourceGroup.name,
sku: {
name: "Free",
tier: "Free"
},
repositoryUrl: "",
});
export const staticWebAppDeployToken = pulumi.secret(web.listStaticSiteSecretsOutput({name: staticWebApp.name, resourceGroupName: resourceGroup.name}).properties["apiKey"]);If we remove the pulumi.secret the output is not a secret
Output of pulumi about
CLI
Version 3.64.0
Go Version go1.20.3
Go Compiler gc
Plugins
NAME VERSION
azure-native 1.100.1
nodejs unknown
Host
OS Microsoft Windows 11 Enterprise
Version 10.0.22000 Build 22000
Arch x86_64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment