https://pulumi.com logo
#getting-started
Title
# getting-started
h

hallowed-room-5599

02/20/2023, 12:09 PM
Is there a way to mark variable as not a secret?
Copy code
kubeconfig_path = pulumi.Output.all(cluster_kubeconfig, cluster.name).apply(lambda args: update_kubeconfig(*args))
pulumi.export("kubeconfigPath", kubeconfig_path)
kubeconfig_path shows as [secret] while it's clearly not.
b

billions-xylophone-85957

02/20/2023, 1:16 PM
there's
pulumi.unsecret()
h

hallowed-room-5599

02/20/2023, 1:22 PM
OK, thanks.
pulumi.export("kubeconfigPath", kubeconfig_path.unsecret(kubeconfig_path))
seems to work. (
pulumi.unsecret
does not seem to exist)
12 Views