is there a way to get a provider's config? e.g. to...
# general
b
is there a way to get a provider's config? e.g. to get a provider's
token
w
You can reference
<http://aws.config.xxx|aws.config.xxx>
for configuration inputs - but if you need specific derived outputs of the configuration, you may need to use thing like
aws.getCallerIdentity
(there are other similar things on other platforms depending on exactly what you need).
b
i want to get the digitalocean spaces (s3) secret key so i can generate a presigned url. does that mean i could do something like
digitalocean.config.spacesSecretKey
(per https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/digitalocean/config/#spacesSecretKey) ?
g
@bitter-dentist-28132 yep, I believe that's what you want.