Skip to content

Instantly share code, notes, and snippets.

@SibeeshVenu
Created October 1, 2022 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SibeeshVenu/62f000341b6284d2b92e1c0266647908 to your computer and use it in GitHub Desktop.
Save SibeeshVenu/62f000341b6284d2b92e1c0266647908 to your computer and use it in GitHub Desktop.
Main python code
from notify_teams import notify_to_teams
from keyvault_helper import get_key_vault_secret
kv_secret_name = ''
kv_name = ''
web_hook_url = get_key_vault_secret(kv_name, kv_secret_name)
message = 'Hi, this message is from the Python application that uses the Webhook connector.'
notify_to_teams(message, web_hook_url.value, kv_secret_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment