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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12f841fee814bd5c0bed0583ffb15e394c7e4a687976aa93412f99a55c299933 |
|
MD5 | a916ea2dcec83314f6897e4599a94b81 |
|
BLAKE2b-256 | 1425f79b2fe618ac12c3861c48a9a95d4a1f73b672e29009cbea95264391bf81 |
Hashes for ops_py_azure_key_vault_alert-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce5e25fb146f8fef3cb414c400eefbdd1d7867d50bd0b70c4d391d131a356819 |
|
MD5 | 2374ca82b8a3fae7fe506eafb574b26e |
|
BLAKE2b-256 | 62ca49a955165782262cd439fc17d3ff307fcc0c44fc6103635e413f302d86d8 |