https://pulumi.com logo
#python
Title
# python
c

cold-minister-39214

11/09/2021, 8:38 PM
Is there a way to use
config.require_secret
on a structured object? i.e. if I use
pulumi config set --secret --path things.thing1.token secret_value
is there a way to do
config.require_secret('things.thing1.token')
? When I do that a “Missing required configuration variable” error. My searches in the docs and in code on github have come up with nothing. Figured I’d ask before diving into SDK source code.
l

little-journalist-4778

11/10/2021, 7:57 AM
I simply do a get_object without require_secret
c

cold-minister-39214

11/10/2021, 6:00 PM
And that decrypts the secrets as well? Interesting.
2 Views