你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerBlobAuditingPolicy.StorageAccountAccessKey 属性

定义

获取或设置指定审核存储帐户的标识符密钥。 如果状态为“已启用”并指定 storageEndpoint,则不指定 storageAccountAccessKey 将使用 SQL Server 系统分配的托管标识来访问存储。 使用托管标识身份验证的先决条件:

  1. 在 Azure Active Directory (AAD) 中分配SQL Server系统分配的托管标识。
  2. 通过将“存储 Blob 数据参与者”RBAC 角色添加到服务器标识,授予SQL Server标识对存储帐户的访问权限。 有关详细信息,请参阅 使用托管标识身份验证审核存储
[Newtonsoft.Json.JsonProperty(PropertyName="properties.storageAccountAccessKey")]
public string StorageAccountAccessKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.storageAccountAccessKey")>]
member this.StorageAccountAccessKey : string with get, set
Public Property StorageAccountAccessKey As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于