Codeunit 9062 Storage Service Authorization

System Application, System.Azure.Storage

Source AL, 106 lines

src/System Application/App/Azure Storage Services Authorization/src/StorageServiceAuthorization.Codeunit.allines 11 to 26 of 106, Copyright (c) Microsoft Corporation. MIT

codeunit 9062 "Storage Service Authorization"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    /// <summary>    /// Creates an account SAS (Shared Access Signature) for authorizing HTTP request to Azure Storage Services.    /// see: https://go.microsoft.com/fwlink/?linkid=2210398    /// </summary>    /// <param name="SigningKey">The signing key to use.</param>    /// <param name="SignedVersion">Specifies the signed storage service version to use to authorize requests made with this account SAS. Must be set to version 2015-04-05 or later.</param>    /// <param name="SignedServices">Specifies the signed services accessible with the account SAS.</param>    /// <param name="SignedPermissions">Specifies the signed permissions for the account SAS. Permissions are only valid if they match the specified signed resource type; otherwise they are ignored.</param>    /// <param name="SignedExpiry">The time at which the shared access signature becomes invalid.</param>

All 106 lines

Public procedures 6 in 29

GetDefaultAPIVersion(): Enum "Storage Service API Version"new in 19
CreateSharedKey(SharedKey: SecretText): Interface "Storage Service Authorization"new in 24
CreateSharedKey(SharedKey: SecretText; ApiVersion: Enum "Storage Service API Version"): Interface "Storage Service Authorization"new in 24
CreateAccountSAS(SigningKey: SecretText; SignedVersion: Enum "Storage Service API Version"; SignedServices: List of [Enum "SAS Service Type"]; SignedResources: List of [Enum "SAS Resource Type"]; SignedPermissions: List of [Enum "SAS Permission"]; SignedExpiry: DateTime): Interface "Storage Service Authorization"new in 25
CreateAccountSAS(SigningKey: SecretText; SignedVersion: Enum "Storage Service API Version"; SignedServices: List of [Enum "SAS Service Type"]; SignedResources: List of [Enum "SAS Resource Type"]; SignedPermissions: List of [Enum "SAS Permission"]; SignedExpiry: DateTime; OptionalSASParameters: Record "SAS Parameters"): Interface "Storage Service Authorization"new in 25
UseReadySAS(SASToken: SecretText): Interface "Storage Service Authorization"new in 25

All 11 procedures in 19-29

Changes 3 in 28

List17181920212223242526272829
Procedures114623
CreateAccountSAS(SigningKey: Text; SignedVersion: Enum "Storage Service API Version"; SignedServices: List of [Enum "SAS Service Type"]; SignedResources: List of [Enum "SAS Resource Type"]; SignedPermissions: List of [Enum "SAS Permission"]; SignedExpiry: DateTime): Interface "Storage Service Authorization"19 to 27
gone
CreateAccountSAS(SigningKey: Text; SignedVersion: Enum "Storage Service API Version"; SignedServices: List of [Enum "SAS Service Type"]; SignedResources: List of [Enum "SAS Resource Type"]; SignedPermissions: List of [Enum "SAS Permission"]; SignedExpiry: DateTime; OptionalSASParameters: Record "SAS Parameters"): Interface "Storage Service Authorization"19 to 27changed in 20
gone
UseReadySAS(SASToken: Text): Interface "Storage Service Authorization"22 to 27
gone

All 17 changes in 19-29