https://pulumi.com logo
Title
b

bumpy-easter-72049

04/23/2021, 2:45 AM
Hello -- how can we "regenerate" one of the access keys for an Azure Storage Account via azure-native? https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal#manually-rotate-access-keys <- this action
t

tall-librarian-49374

04/23/2021, 6:06 AM
It’s a POST request in Azure API which doesn’t fit in our resource model. If it were supported, when would you imagine it to be called?
b

bumpy-easter-72049

04/23/2021, 10:49 PM
i recently ran into a scenario where we found the primary storage account key was being logged in telemetry, so we needed to roll the keys (switch dependent services to use the second key, which i could accomplish with pulumi -- but then i couldn't finish up by regenerating the first key)
the other interesting way to solve the problem would be using Azure's "managed storage account keys" via key vault - https://docs.microsoft.com/en-us/azure/key-vault/secrets/overview-storage-keys, but not sure if that's supported by pulumi either
@tall-librarian-49374