Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imjoseangel/azurefunction-python

Azure Function to rotate CosmosDB and Storage Account Keys
https://github.com/imjoseangel/azurefunction-python

Last synced: 2 days ago
JSON representation

Azure Function to rotate CosmosDB and Storage Account Keys

Awesome Lists containing this project

README

        

# Python Keys Rotate Function
Azure Function to rotate CosmosDB and Storage Account Keys

Both functions can be used whether with params using GET or with a JSON Body using POST

With Params:

```
?cosmosdb=
&resourcegroup=
&subscriptionid=
&cosmosdbkey=[ primary | secondary ]
&keyvaultname=
```

With POST

```json
{
"cosmosdb": "",
"resourcegroup": "",
"subscriptionid": "",
"cosmosdbkey": "",
"keyvaultname": ""
}
```