Post Key Vault Secrets report to Slack 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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 959b4dc9f4dd575fba49e2089c5009efb86a80e409bc4b3f9ad1d2a3bfd943a5 |
|
MD5 | ad0a3f76b3f254111b3b1c188840f3e9 |
|
BLAKE2b-256 | 7d80f8d190b1f21eb7b5bb71026533d039dc7a312553a3db2a645231d8ab897d |
Hashes for ops_py_azure_key_vault_alert-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0311fe5a56562d984dc0fbc1d70079bb4664598f9c799a37d7cb2c4fc4fae6bd |
|
MD5 | a8166309d0b6f63bafe6f75996934af4 |
|
BLAKE2b-256 | 2eca2dfe4d586e822c99378fc6e8b20bac857e752e5b07f37038994ec00b45f8 |