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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03da2700f073632bb3e491015e5a18b2abcaef58c7261142b346b8c90ad9b04 |
|
MD5 | 762d77888ed32a52491313489fa8ea3f |
|
BLAKE2b-256 | b92bfeccc03a9ab479e06d60f6448b06ea005f43252d5e88522641c6b84eb876 |
Hashes for ops_py_azure_key_vault_alert-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33314ea0f4a8d3e0a30970f67c065ebb1cf361df80da1d0c25f1398fe99f90c |
|
MD5 | 650f8dfa398a104c93ab528ba9f1c4d6 |
|
BLAKE2b-256 | acfaef4027a10bb785383a1ec106ace94a9518e0057d54e470245d9684c0d92c |