从AzureStack WebApp访问AzureStack存储 [英] Accessing AzureStack storage from an AzureStack WebApp

查看:70
本文介绍了从AzureStack WebApp访问AzureStack存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写代码来上传,列出和下载AzureStack存储中的blob。 我在Git中找到了一个我似乎无法工作的样本。   https://github.com/Azure-Samples/azurestack-resources-storage-blob-dotnet-samples

I'm trying to write code to upload, list and download blobs from AzureStack storage.  I found a sample in Git that I can't seem to get working.  https://github.com/Azure-Samples/azurestack-resources-storage-blob-dotnet-samples

我认为我面临的主要问题是获取所需信息对AzureStack进行身份验证。

I believe the main issue I'm facing is obtaining the information required to authenticate to AzureStack.

AzS_ClientID

AzS_SecretKey

AzS_ActiveDirectory   =" https://login.microsoftonline.com" ;;
$
AzS_ActiveDirectoryResourceID  =" https://management.core.windows.net/" ;;
$
AzS_ManagementEndPoint

AzS_StorageEndPoint

AzS_ClientID
AzS_SecretKey
AzS_ActiveDirectory  = "https://login.microsoftonline.com";
AzS_ActiveDirectoryResourceID = "https://management.core.windows.net/";
AzS_ManagementEndPoint
AzS_StorageEndPoint

AzS_ClientID和AzS_SecretKey在Azure中注册为已注册的应用程序。 (我很确定)

The AzS_ClientID and AzS_SecretKey are registered in Azure as a registered application. (I'm pretty sure)

AzureStack管理员或租户门户网站是否有办法获取这些值? 如果是这样,你能指出我正确的方向吗? 如果没有,我如何获得它们?

Is there a way from the AzureStack Admin or Tenant portal to obtain these values?  If so, can you point me in the right direction?  If not, how do I obtain them?

谢谢,

David

David Downing ...如果这回答了你的问题,请标记为答案。如果这篇文章有帮助,请投票为有帮助。

David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

推荐答案

你应该能找到你的大部分内容需要
此处
。 
you should be able to find most of what you need Here


这篇关于从AzureStack WebApp访问AzureStack存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆