[英]How to connect to an Azure Storage account from a service running on service fabric cluster?
All the resources are in the same resource group.所有资源都在同一个资源组中。 I have a service deployed in the service fabric cluster and I have a storage account.
我在 Service Fabric 集群中部署了一项服务,并且有一个存储帐户。 I also have registered an app in Azure Active Directory.
我还在 Azure Active Directory 中注册了一个应用程序。 How do I connect to the storage account?
如何连接到存储帐户? I want to use certificate/token based authentication and not connection strings.
我想使用基于证书/令牌的身份验证而不是连接字符串。
I am pretty new to azure so I am confused about the basic stuffs.我对天蓝色很陌生,所以我对基本的东西感到困惑。
You can use Managed Identities and grant access to it in your storage account.您可以使用托管标识并在您的存储帐户中授予对其的访问权限。
https://learn.microsoft.com/en-us/azure/service-fabric/concepts-managed-identity https://learn.microsoft.com/en-us/azure/service-fabric/concepts-managed-identity
https://learn.microsoft.com/en-us/azure/storage/blobs/authorize-managed-identity https://learn.microsoft.com/en-us/azure/storage/blobs/authorize-managed-identity
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.