Prerequisites
-
Assigning TLS1.2 to Storage Account and VM
-
Adding the VM to the firewall subnet inclusions
-
Create a System Managed Identity and assign to VM
-
Give that System Managed Identity RBAC over the storage account
Azure PowerShell Modules
|
|
PowerShell Script
TLS1.2 can be set it the portal settings as well – following command must have Admin privs.
|
|
The purpose of these self-assigned link-local addresses is to facilitate communication with other hosts within the subnet even in the absence of external address configuration (via manual input or DHCP). Unlike in IPv6, implementation of IPv4 link-local addresses is recommended only in the absence of a normal, routable address.
|
|
The following function uploads a blank test file to the blob container
|
|
Terminology
SAS Credential: A Service SAS provides the ability to grant limited access to objects in a storage account, for limited time and a specific service (in our case, the blob service), without exposing an account access key.
PowerShell Module: A module is a package that contains PowerShell members, such as cmdlets, providers, functions, workflows, variables, and aliases. The members of this package can be implemented in a PowerShell script, a compiled DLL, or a combination of both. These files are usually grouped together in a single directory.
Managed Identities: On Azure, managed identities eliminate the need for developers having to manage credentials by providing an identity for the Azure resource in Azure AD and using it to obtain Azure Active Directory (Azure AD) tokens. This also helps accessing Azure Key Vault where developers can store credentials in a secure manner. Managed identities for Azure resources solve this problem by providing Azure services with an automatically managed identity in Azure AD.
TLS1.2: Why use TLS 1.2 with Configuration Manager?
TLS 1.2 is more secure than the previous cryptographic protocols such as SSL 2.0, SSL 3.0, TLS 1.0, and TLS 1.1. Essentially, TLS 1.2 keeps data being transferred across the network more secure.