![i have a product key and want to create a microsoft account i have a product key and want to create a microsoft account](https://www.techbout.com/wp-content/uploads/2018/12/create-microsoft-account-using-gmail.png)
Two access keys are assigned so that you can rotate your keys. If you are not using Key Vault, you will need to rotate your keys manually. If possible, use Azure Key Vault to manage your access keys. Microsoft recommends that you rotate your access keys periodically to help keep your storage account secure.
![i have a product key and want to create a microsoft account i have a product key and want to create a microsoft account](https://www.freecodecamp.org/news/content/images/2020/12/magical-jellybean-keyfinder.jpg)
Manage storage account keys with Azure Key Vault and the Azure CLI.Manage storage account keys with Azure Key Vault and PowerShell.
![i have a product key and want to create a microsoft account i have a product key and want to create a microsoft account](https://i1.wp.com/www.alphr.com/wp-content/uploads/2022/01/How-to-Find-Your-Microsoft-Office-Product-Key_2.jpg)
For more information about using Key Vault for key management, see the following articles: Your application can securely access your keys in Key Vault, so that you can avoid storing them with your application code. Microsoft recommends using Azure Key Vault to manage and rotate your access keys. Use Azure Key Vault to manage your access keys For detailed information about built-in roles for Azure Storage, see the Storage section in Azure built-in roles for Azure RBAC. For more information about the Service Administrator role, see Classic subscription administrator roles, Azure roles, and Azure AD roles. Some Azure built-in roles that include this action are the Owner, Contributor, and Storage Account Key Operator Service Role roles. To view or read an account's access keys, the user must either be a Service Administrator, or must be assigned an Azure role that includes the Microsoft.Storage/storageAccounts/listkeys/action. You can use either of the two keys to access Azure Storage, but in general it's a good practice to use the first key, and reserve the use of the second key for when you are rotating keys. Remember to replace the placeholder values in brackets with your own values. To list your account access keys with Azure CLI, call the az storage account keys list command, as shown in the following example. To retrieve the second key, use Value instead of Value. The following example retrieves the first key. To retrieve your account access keys with PowerShell, call the Get-AzStorageAccountKey command. Select the Copy button to copy the connection string. Under key1, find the Connection string value. Select the Copy button to copy the account key.Īlternately, you can copy the entire connection string. Select Show keys to show your access keys and connection strings and to enable buttons to copy the values. Your account access keys appear, as well as the complete connection string for each key. Under Security + networking, select Access keys. In the Azure portal, go to your storage account. To view and copy your storage account access keys or connection string from the Azure portal: