具有基本身份验证的API - 凭证旋转

发布于 2025-02-10 21:01:46 字数 147 浏览 1 评论 0原文

我有一个解决方案,该解决方案使用第三方API,该API具有某种基本身份验证的秘密。我无法控制该API,但是钥匙一次又一次旋转。该API通知我凭证更改的最安全方法是什么。我想排除尽可能多的手动工作。

我拥有的解决方案是Azure DataFactory和键存储在KV中

I have a solution that uses a 3rd party API which is secured with some sort of Basic Authentication secret. I have no control over that API but the keys are getting rotated every now and again. What would be the safest way for that API to notify me of credential changes. I want to rule out as much manual work as possible.

The solution that I have is a Azure DataFactory and keys are stored in KV

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白昼 2025-02-17 21:01:46

要在更改密钥保险箱凭据时获取通知,您可以使用Azure逻辑应用程序如下:

转到Azure Portal -> Azure键保管库 - >您的钥匙库 - >活动 - >开始 - >选择逻辑应用 - >签名 - 使用您的帐户 - >继续

“在此处输入图像说明”

单击当资源事件发生屏幕时,请执行类似下面的更改:

“在此处输入映像”

选择操作 - >选择全部 - >选择您所需的电子邮件提供商 - >选择 - >发送电子邮件

“在此处输入映像说明”

通过包括 主题 body 保存并创建。

每当您更改秘密时,您都会收到电子邮件的通知。

参考

电子邮件当秘密更改的密钥库状态时|微软文档

To get the notification whenever the Key Vault credentials are changed you can make use of Azure Logic Apps like below:

Go to Azure Portal -> Azure key vaults -> Your Key vault -> Events ->Get started -> Select Logic Apps -> Sign - in with your account -> Continue

enter image description here

Click When a resource event occurs screen, do the changes like below:

enter image description here

Choose an operation -> Select All -> Select your required email provider -> Select -> Send an Email

enter image description here

Edit the Email template by including to, subject, body save and Create.

Whenever you make changes on secrets, you will receive notification to your email.

Reference:

Email when Key Vault status of the secret changes | Microsoft Docs

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文