Here is error: ``` error: Missing required conf...
# python
v
Here is error:
Copy code
error: Missing required configuration variable 'mysnowflake:snowflake:private_key:secure'
    	please set a value using the command `pulumi config set --secret mysnowflake:snowflake:private_key:secure <value>`
    error: an unhandled error occurred: program exited with non-zero exit code: 1
but this works from cli:
Copy code
"pulumi config get snowflake:private_key"
So
Copy code
pulumi_config = Config()
secret = pulumi_config.require_secret("snowflake:private_key"))
is adding " mysnowflake" to "snowflake:private_key"?
What is strange is that pulumi snowflake builds a default provider that uses
Copy code
encryptionsalt: *******
config:
  snowflake:account: blahblah
  snowflake:private_key:
    secure: *****
without issue.
e
Config defaults to the project namespace. You want:
Copy code
pulumi_config = Config("snowflake")
secret = pulumi_config.require_secret("private_key"))
👍 1