Join Slack
Powered by
This message was deleted.
# general
s
sparse-intern-71089
09/10/2020, 9:25 AM
This message was deleted.
b
broad-helmet-79436
09/10/2020, 9:56 AM
(I use typescript, and) getSecret and requireSecret decrypt the values automatically
broad-helmet-79436
09/10/2020, 9:56 AM
side note, you probably want RequireSecret, which causes your program to fail if the config value doesn’t exist
broad-helmet-79436
09/10/2020, 9:58 AM
unfortunately(?) the api reference uses typescript for examples, but this should be helpful anyway
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#Config
b
best-france-51653
09/10/2020, 10:49 AM
I'll check, thank you, Martin.
best-france-51653
09/10/2020, 2:14 PM
If I got it right based on an example, I import config package and then use something like this: mysecret := config.GetSecret(ctx, "aws:nameof-the-pull-secret")
6
Views
Open in Slack
Previous
Next