Nayden Van
Nayden Van

Reputation: 1569

Azure Secrets stored in aws secret manager

I am working with terraform to spin up different resource in azure. Some of those resources have sensitive data that I would like to store securely in aws secret manager. Is this a doable process in terraform? What it is confusing me is the following question:

To be able to access aws secret manager and spin up azure resources, should I have both provider declared in my terraform?

thank you very much for any advice and clarification you can offer

Upvotes: 2

Views: 533

Answers (1)

Charles Xu
Charles Xu

Reputation: 31424

To be able to access aws secret manager and spin up azure resources, should I have both provider declared in my terraform?

Of course, yes. You need to configure Azure provider and AWS provider for each one.

And I agree with Matt, if the resources have sensitive data, you can use the Azure Key Vault. then you can use only one provider and it will spend less time to get them.

Upvotes: 2

Related Questions