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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e34e5f021acad3429107d7deb35b3d4e495ef24331b1d719668e8dcf59c78ac |
|
MD5 | 61e07d377a53750bbe25346b9abbcf67 |
|
BLAKE2b-256 | 647f6a5454b62a171efa735cfacf34645708af1687bf2da36b157127de97a813 |
Hashes for ops_py_azure_key_vault_alert-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe836c6c81032b7d587e371cf988ede989aa6de1acf8f5f81ee4f1b07d6e3dd |
|
MD5 | 52529b29b07b4fbd47f57456ecbe2869 |
|
BLAKE2b-256 | 05622ff3aaa52210aa4381c4a6325c2b8ac4eaff619c2ed718bf55bddc12a4b4 |