在哪里可以找到我的 Azure 帐户名和帐户密钥? [英] Where can I find my Azure account name and account key?
问题描述
我从 Windows Azure 开始.我在 Microsoft 有一个 Azure 帐户,并想在我的 Visual Studio 项目中使用它
I am starting with Windows Azure. I have an Azure account with Microsoft and would like to use it from my Visual Studio project
在 Azure 管理门户中,我可以看到主要访问密钥和辅助访问密钥.但是 Visual Studio 需要帐户名和帐户密钥.
In the Azure management portal, I can see the primary access key and secondary access key. However Visual Studio needs the account name and account key.
这些是相关的还是我遗漏了什么?如果是这样,我如何从 Azure 管理门户获取我的帐户名和帐户密钥?
Are these related or am I missing something? If so, how can I get my account name and account key from the Azure management portal?
推荐答案
如果您指的是 Windows Azure 存储帐户,则存储帐户名称将是您创建的 dns 前缀(例如 mystorage.blob.core.windows.net - 名称将是 mystorage).
If you're referring to a Windows Azure Storage account, the storage account name would be the dns prefix you created (e.g. mystorage.blob.core.windows.net - the name would be mystorage).
然后您将获得两个密钥 - 主要和次要.指定其中之一.您有两个,因此您可以将其中一个分发给某人(例如将辅助密钥提供给 3rd 方监控公司)并通过更改密钥来撤销它,而不会影响您(假设您自己使用主键).
You then get two keys - primary and secondary. Specify either. You have two so you can give one out to someone (such as giving the secondary key to a 3rd-party monitoring company) and revoke it by changing the key, without impacting you (assuming you're using the primary key for yourself).
这篇关于在哪里可以找到我的 Azure 帐户名和帐户密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!