azure - Azure 门户中的 Azure 存储帐户连接字符串在哪里?
问题描述
我尝试使用以下代码将 XML 文件上传到 Azure FTP 服务器:
https://www.c-sharpcorner.com/article/upload-and-download-files-from-blob-storage-using-c-sharp/
我很难找到 storageAccount_connectionString?我可以访问 Azure 门户中的服务器,但找不到此连接字符串。
//Copy the storage account connection string from Azure portal
storageAccount_connectionString = "your Azure storage account connection string here";
解决方案
正如Gaurav Mantri所说,连接字符串是从 Storage Account Access Keys Blade 中找到的。 (StorageAccount>>AccessKeys>>ShowKeys)
如果您使用的是 aPrimary Access Key
那么您可以使用 in 中的连接字符串,Box 1
如果您使用的是Secondary Access Key
then 您可以使用 in 中的连接字符串Box 2
。
您可以参考以下 Microsoft 文档以获取更多信息:
推荐阅读
- gitlab - 不确定如何将 rstudio 与 gitlab 连接?
- javascript - 从 Jquery UI Datepicker 中的 dtes 范围获取差异
- java - 服务器 tomcat 9.0 启动失败
- bash - 在“then”附近抨击意外令牌
- sql - 从 Django 中的多个数据库表返回结果
- php - 我这里的代码太多了,想缩短这个
- javascript - 如何获取 JavaScript 对象的键的字符串值?
- ruby - 如何关联不同类型的角色(代理和客户)
- php - 直到 n 可被 A 或 B 整除但不能被 C 整除的数字列表
- java - 如何在 ubuntu 中使用 Intellij 的 jre