sparse-intern-71089
03/09/2021, 1:00 PMmicroscopic-dress-1605
03/09/2021, 1:12 PMaws.secretsmanager.getSecretVersion . The returned object has the secret as secretString or secretBinary depending which one you used to store it.flat-insurance-25294
03/09/2021, 1:12 PMflat-insurance-25294
03/09/2021, 1:13 PMmicroscopic-dress-1605
03/09/2021, 1:13 PMflat-insurance-25294
03/09/2021, 1:13 PMmicroscopic-dress-1605
03/09/2021, 1:27 PMconst config = new pulumi.Config();
config.getSecret('my_secret');
or
config.requireSecret('my_secret');microscopic-dress-1605
03/09/2021, 1:27 PMPulunmi.<stack-name>.yaml file in the root of your pulumi project.flat-insurance-25294
03/09/2021, 1:27 PMflat-insurance-25294
03/09/2021, 1:27 PMflat-insurance-25294
03/09/2021, 1:28 PMmicroscopic-dress-1605
03/09/2021, 1:28 PMflat-insurance-25294
03/09/2021, 1:28 PMflat-insurance-25294
03/09/2021, 1:29 PMflat-insurance-25294
03/09/2021, 1:29 PMcache.addOrGet("key", "value") that also supports secrets.