Uploading an Asymmetric Key for Azure Blob Storage

    Overview

    In the coming months, we plan to migrate its underlying long-term storage system from Azure Disk block storage to Azure Blob object storage.

    The new Azure Blob storage has many benefits to the current Azure Disk storage, and with this migration we intend to improve its service for its customers by migrating to a highly scalable and highly reliable object storage service.

    The existing block storage uses symmetric encryption keys, while the new Azure Blob storage service uses asymmetric keys. Because of this, it is required for our customers with BYOK to generate an asymmetric encryption key to enable the migration of their data to Blob storage.

    For FAQs, see Uploading an Asymmetric Key for Azure Blob Storage FAQ.

    Procedure

    Generating the Key

    To generate your own key in MacOS or Linux:

    1. Log in to your account as the account’s owner.
    2. At the top right of the screen, click on your email address.
    3. In the drop-down menu, select Account Settings.
    4. Select the Key Management tab. By default, the Bring Your Own Key checkbox is checked.
    5. Click Archive Current Key and Create New Key...
    6. In the dialog window that appears are instructions on how to download the certificate, as well as the actual script, that will help you generate a 256-bit key and passphrase. In the blue instructions area of the window, click the Download hyperlink to obtain the certificate from the application UI.
    7. Click either the MacOS or the Linux hyperlink (as needed) to download and run the sample script and generate the required information.
    8. Change the script file to be executable:
      chmod +x secretgen-macos-azure.sh
    9. Run the script as sudo along with the certificate:
      ./secretgen-macos-azure.sh akm_azure_ob_public.key
       

    The output should be similar to the following: 

    Private Key PKCS12:

    MIIFbwIBAzCCBTUGCSqGSIb3DQEHAaCCBSYEggUiMIIFHjCCBRoGCSqGSIb3DQEH AaCCBQsEggUHMIIFAzCCBP8GCyqGSIb3DQEMCgECoIIE7jCCBOowHAYKKoZIhvcN AQwBAzAOBAjLkLSLOS38YQICCAAEggTIodg+/NdT9yNRtF5RqLlpr23akv0zhrJE 2BWYm+yZdSzGYu4HYPqQe102PL9MKnlx7ZfojGd+NZTqJjNpiePZu2hDewIrpnfv hfuVRsUQ6x20LN8hQ+Wspe9cvwQjYtJT7oi35DRx8qZNbmeLWELW++nGj5YVLxsX h7qUuoov092GWizhbadupX6Kfv+C/FKN4tbuzsNQXohOOV2ILETVBbqaOLoqsc36 1PTfUe9JwV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XhWysZYJlsE104fzGo1f4=

    Uploading the Key

    1. Log in to your account as the account’s owner.
    2. At the top right of the screen, click on your email address.
    3. In the drop-down menu, select Account Settings.
    4. Select the Key Management tab. By default, the Bring Your Own Key checkbox is checked.
    5. Click Archive Current Key and Create New Key...
    6. A dialog window appears, with two text fields, for entering the Private Key PKCS12 and the Encrypted Passphrase strings.
    7. Click Add and Replace Master Encryption Key.
    8. Your key should appear in the table in Activating… status.

     

    « Previous ArticleNext Article »


    Contact Us

    Sometimes you just want to talk to someone. Our customer support team is available by phone:
    Request a Technical Support Call Back