mirror of https://github.com/pulumi/pulumi.git
ec4963b443
Turns out most of these tests were broken. `NewCloudSecretsManager` regenerates the secret key from scratch if either `EncryptedKey` is empty _OR_ if `SecretsProvider` does not match the url passed in to `NewCloudSecretsManager`. Because none of these tests set `SecretsProvider` they were all just regenerating their keys rather than checking the given keys actually worked. Luckily it seems that everything does actually still happen to work correctly, except "TestAzureKeyEditProjectStack" had a corrupt key (truncated I expect) which wasn't valid base64. I've replaced it with a newly generated key, which is fine for this test. |
||
---|---|---|
.. | ||
aws_test.go | ||
azure_test.go | ||
gcp_test.go | ||
manager.go | ||
manager_test.go |