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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 977b7959e02b312d4d50478c980a2e1685d5e705a9a4cc3ce3359faef9b67af9 |
|
MD5 | f94ef5c54236e3015e8687da4d4a95a6 |
|
BLAKE2b-256 | 5273c61d02c7dc153836ba34cb49182c0e6d5f6aecec4df1fc0d1391af64058c |
Hashes for ops_py_azure_key_vault_alert-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8d11eec487c512a49179825598a2e7d83e90793f198f04e71453f882d94fd6 |
|
MD5 | c52587ddcfa62a292bd9d37caf8b94fe |
|
BLAKE2b-256 | 0806ccab335771c1a571dc0907ba04438ba96314a3efc21084290a4f5f8ccf81 |