Post Key Vault Secrets report to webhook
Project description
azure-key-vault-alert
Description
Generates a Key Vault Secret status report using ops-py-azure-key-vault-report for one more Key Vaults.
Each report is posted continuously to Slack using ops-py-slack-alert
When done, an optional final notify is sent to Slack using an additional webhook.
Installation
pip install ops-py-azure-key-vault-alert
Usage
Export the Slack Webhook Environment Variables:
-
SLACK_WEBHOOK_REPORT
Each report is posted to the value of this webhook. E.g.:
export SLACK_WEBHOOK_REPORT="https://hooks.slack.com/workflows/T02XYZ..."
-
SLACK_WEBHOOK_NOTIFY
When all the reports have been posted, an additional POST is performed to the value of this webhook. E.g.:
export SLACK_WEBHOOK_NOTIFY="https://hooks.slack.com/workflows/T02ZYX..."
Provide the list of key vaults to generate reports for after the -v
/ --vaults
'
command line argument (space separated) when executing the code. E.g.:
python3 azure_key_vault_alert -v kv-prod kv-dev kv-qa
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ops-py-azure-key-vault-alert-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7b8e69dcbd8aac0ca7c00e99af92595190ea04ef8a06be80c3d9ee24e50b55b |
|
MD5 | 3a22317c0e6f9965996b85e1ec40a79d |
|
BLAKE2b-256 | 8fcd5efc19dcc168a84036b8450c457f256d3771ba81ad38b8d2fa16869110fd |
Hashes for ops_py_azure_key_vault_alert-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 279a5aa703ab880c34f4f9b389c9169eef55149e241c45a7f479d25d4e926a81 |
|
MD5 | 0b8b05309d6f4bf2344bf81b071c7086 |
|
BLAKE2b-256 | 51fd595be2f282811638ce4739275fa5fabf9a8808dc61292c8320de200674b6 |