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-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f693e298550207fccc73bf327af3a369cc15ecd7e937b2dc80e2a57678527422 |
|
MD5 | 20c7c6441b271908ea932f1bcaab74e7 |
|
BLAKE2b-256 | b7769685f9812b04bcca02dcd41d49b87bdd0f88fa68febe830ffb1b40217b0e |
Hashes for ops_py_azure_key_vault_alert-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4187b9bb8243ce42a33d9c34efd28d34dd33a2275bc9157dc710e41251faf55 |
|
MD5 | 9cc01d27f6e291b8a39074fe77ef97a2 |
|
BLAKE2b-256 | c8959a3076f4ba6235f5bdf138bd7e077665fa8d551df29f481b5c5481c22b08 |