Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/imjoseangel/azurefunction-python
- Owner: imjoseangel
- License: mit
- Created: 2021-10-18T17:29:33.000Z (about 3 years ago)
- Default Branch: devel
- Last Pushed: 2024-02-09T19:36:37.000Z (11 months ago)
- Last Synced: 2024-05-15T20:13:52.375Z (8 months ago)
- Language: Python
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Keys Rotate Function
Azure Function to rotate CosmosDB and Storage Account KeysBoth 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": ""
}
```