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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53238b02a0d53a2e612c0fc7fccef21f054cf35b148959c115b66ef6052e6731 |
|
MD5 | f8365ded87fc06a02abe83ad5544beca |
|
BLAKE2b-256 | 1716367c3aca254db600cdc837b4311b86b822ec7656d873423480362744a60b |
Hashes for ops_py_azure_key_vault_alert-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80810ed20fe57d1859d7ca1269fb023b2dd537f3f62dd914b739486fce2e3d29 |
|
MD5 | b18cc982c63dd638cbaabe3d6c0c709f |
|
BLAKE2b-256 | 654cd2a02a6aae7aca65391d8f13cedcd929a8ccdf918826d264d2eeff95a04a |