Is there a difference between doing `config set` o...
# general
t
Is there a difference between doing
config set
on a key that a provider expects and one that you've made up yourself? I've have run
pulumi config set sendinblue:smtp <XXX> --secret
and it's not showing up in the config section of my stack whereas
hcloud:token
which was set in the same way is... I get this in my console when trying to do
cfg.requireSecret("sendinblue:smtp")
Copy code
Diagnostics:
  pulumi:pulumi:Stack (infra-dev):
    error: Missing required configuration variable 'infra:sendinblue:smtp'
    	please set a value using the command `pulumi config set infra:sendinblue:smtp <value>`
Copy code
❯ pulumi config
KEY                  VALUE
hcloud:token         [secret]
hetznerdns:apitoken  [secret]
sendinblue:smtp      [secret]
It seems to be in my config, so I'm not sure why I need to refer to it with my stack (my stack is called infra), or why it doesn't show up in the pulumi web app
I changed the key to something without
:
in it and when pulumi up succeeded I now see
e
":" is used for namespacing in the config system, and the default namespace (used by config.require etc) is your project name.
If you make an explicit config object you can tell it what namespace to use:
new pulumi.Config("sendinblue");