When making a call to new pulumi.Config('someName')
I would like to get an array of secrets that are under someName:aValue
.
I've tried to call something like const cfg = new pulumi.Config('someName')
, but after that, all the mothods under that class all call for a key (e.g. aValue), but that isn't helpful when wanting all secrets under the logical name.
pulumi.*.yaml
someName:someValue1:
secure: someSecureValue
someName:someValue2:
secure: someOtherSecureValue
somefile.ts
const cfg = new pulumi.Config('someName')
With the given code above, I'm looking for a list of all secrets under someName
.