top of page

Azure Sentinel 6. Key Vault for ChatGPT

  • Michael He
  • Oct 9, 2025
  • 1 min read

Updated: Oct 10, 2025



Create a key vault



Assign privilege yourself with key vault admin role




Assign ChatGPT Logic App with key vault secret user role



Create a key vault secret




For the key, make sure to include "Bearer " in the front



Now we can use key vault in Logic App instead of direct API key




Make sure to turn off "Secure inputs" and "Secure output" to "On" under Security setting, this way the API Key won't be showing after running the playbook in outputs



Now we can replace the actual API key with the key vault value
















Comments


bottom of page