Is there a way to set a project to encrypt all exp...
# automation-api
c
Is there a way to set a project to encrypt all exports by default?
l
No. each one must be wrapped in
pulumi.secret()
.
c
When I wrap a string inline I get this error:
Copy code
python inline source runtime error: module 'pulumi' has no attribute 'secret'
l
Sorry, I gave you the typescript answer...
I can't read the python docs. This is the link on the static function you need. No idea how to call it... https://www.pulumi.com/docs/reference/pkg/python/pulumi/#pulumi.Output.secret
f
@crooked-pillow-11944
Copy code
pulumi.Output.secret(...)
c
Thanks @famous-leather-94346!