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

green-bird-4706

10/16/2022, 11:06 PM
I want to migrate my SnowFlake provider from Terrform to Pulumi. I have set my
private_key
(rsa certicate) and
private_key_passphrase
in the Terrform provider. I would like to add these as config secrets in Pulumi, but looking at the docs it only has the option to set the path to the certificate?
b

billowy-army-68599

10/16/2022, 11:10 PM
you can set the private key as a config secret: https://www.pulumi.com/registry/packages/snowflake/api-docs/provider/#privatekey_go
Copy code
cat id_rsa | pulumi config set snowflake:privateKey --secret
g

green-bird-4706

10/16/2022, 11:15 PM
Thanks, that's simple. I already set the secret in my config just like that but couldn't find out how to use it. Pulumi sent me off to the GitHub repo, but this looks more complete and looks easy. Thank you.
3 Views