Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| azure:az-500:storage_security [2022/06/21 20:12] – [Shared Access Storage (SAS)] mmuze | azure:az-500:storage_security [2022/07/20 19:08] (current) – [Shared Access Signature(SAS)] mmuze | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ===== Azure Storage Access ===== | ===== Azure Storage Access ===== | ||
| * Azure AD/RBAC authorization is preferred over all other authorization storage options for Azure Storage. | * Azure AD/RBAC authorization is preferred over all other authorization storage options for Azure Storage. | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| ==== Types of Authorization ==== | ==== Types of Authorization ==== | ||
| * [[https:// | * [[https:// | ||
| Line 18: | Line 25: | ||
| * **Shared Access Signature (SAS)** | * **Shared Access Signature (SAS)** | ||
| - | ===== Shared Access | + | ===== Shared Access |
| - | * Can be created on container | + | * SAS is a string that contains a security token that can be attached to a URI that gives access to storage objects |
| + | * [[https:// | ||
| + | |||
| + | * The only way to revoke a SAS (that was signed by a key) is to revoke (regenerate) the access key that was used to sign it. This is not ideal because that key could be used in other ways and this would be a disruptive operation. That is where a **stored access policy** can be of use (for service-level SAS only). | ||
| + | * There are tree types of SAS, user delegated, service SAS and account SAS. | ||
| + | * A **user delegation** SAS is secured with Azure Active Directory (Azure AD) credentials and also by the permissions specified for the SAS. A user delegation SAS applies to Blob storage only. | ||
| + | * A **service SAS** is secured with the storage account key. A service SAS delegates access to a resource in only one of the Azure Storage services: Blob storage, Queue storage, Table storage, | ||
| + | * An **account SAS** is secured with the storage account key. An account SAS delegates access to resources in one or more of the storage services. All of the operations available via a service or user delegation SAS are also available via an account SAS. Account-level SAS applies to the Storage Account, therefore it could apply to any number of containers/ | ||
| + | |||
| + | * A **SAS** can take one of two forms. **Ad hoc SAS** where the expiry and permissions are part of the SAS URI and Service **SAS** with **stored access policy** where the SAS references the policy that defines the expiry and permissions. | ||
| + | * A user delegated SAS and account SAS must be an ad hoc SAS | ||
| ===== Stored Access Policy ===== | ===== Stored Access Policy ===== | ||
| + | > A stored access policy provides an additional level of control over service-level shared access signatures (SAS) on the server side. | ||
| + | * A [[https:// | ||
| + | * [[https:// | ||
| ====== Storage Service Encryption ====== | ====== Storage Service Encryption ====== | ||