Managers - Get Public Encryption Key

Returns the symmetric encrypted public encryption key of the manager.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/listPublicEncryptionKey?api-version=2017-06-01

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The subscription id

resourceGroupName
path True
  • string

The resource group name

managerName
path True
  • string

The manager name

api-version
query True
  • string

The api version

Responses

Name Type Description
200 OK

The encryption key.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

ManagersGetPublicEncryptionKey

Sample Request

POST https://management.azure.com/subscriptions/d3ebfe71-b7a9-4c57-92b9-68a2afde4de5/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/listPublicEncryptionKey?api-version=2017-06-01

Sample Response

{
  "value": "EAAAACcRUjoLMPhaI/fH4EFvdYv355vUfR6L+21trxRIl3toWpu91W804sPvAFQbCjwPAdG2epj8GYgXO44DZVHvf8x/X0f5cHhvLlcdx4yo7hdcEqoSpKwKytik8GfDTgsiqcEG4Fod05JF7E9CSAvFGOFf4hFfdQWjeiU3kTP5wCM4lJCCUWqI2uPSc5Izmg+XmumlXACavVKVtRzDEki4cbNCFc0tR1RAdMMDgziQmJFVlKNIvOOUSmurE1a5rXyUP8n3VvuCokIjlSSQSyySOSk/cWicAXjiBVHbJ6pFjJkDFLV/hTi/xdnrywVHJ7fDrdyBtMIRTZU6085lp/kWBkjVt5RNiPy9p/xHjOlGxa6DUSxYmUPZKzQytNQ49uLCVTH/JvUV0tWM6LU9bLvZxOYTJfD8hiHNaHk+XbrsX+AE4XrOj2cN/Ih1tULcX12cS21OLVYadWm9fkvU0U/csDu+r7PuwH/rBO1Bw/vmv2Kochj6h1akedro6R4+0txxu2t3HVh1a9Xc1/2xYNnSv/06/ekxEzxYwe7Sb6yAHZYZ4nCdS1FiGsBJ+2U1iSYgzDUDYcn9vwmFSJMdLlujwp5gNEWR7hZFrnmbPMtq+kBmuWA1mjJDTMZhefsJHLL3sEB1qqHTOaj8yAxM2oWYOvbc6/E/osy+qve0f1HAFWAsmgK2wOZ/yM9myAQDNFmVnxGibjNVb/svTIgfvYfSpDqWOKISDW1T4A8eHUk2Gz/8xnx+dSArjuVuLFk7u96tMbw4glEc74HNahtZbY8cvyFIStLugxrwlYmFlgN86tly9SZicd0x2cbsrIYySX4gvuSsgOwcQigoyVxFojE9u0rJa0gJYcTS4YbBjnd0+HGQJG604TKPb9hMmH7V1FbmH3bJc03PAOfPdNDgjA61uK7PgTEaamdIyoDg/FjBWpFiVJhdIu+m7Mm1gNf9GwXyv9XjQ9P42aAc/vUKzkvJESQ4uqkYFSlYTgyvMUyCpeRI9U2OD3iziNj5/Y1wr4eJ5BLePP6lVTR+UnWDjyu863d7N5grH7sWof1b+TZFb9Il6vMHA3BA9ujiFedQwqUdIdkdpKZuOBhkq+Ij9nMTQtIG1ODEpPetEXxaAoCKCS9DcBdmsN3MLvN46IIWN//vBmkABP3oUwnPoCgyx7P5V4NUpAJbm70mO1Mo6a1JEcFiqXJNZa9BO6v8e+9mRZokpDHOJCIJ0UwLpevpbKvBnLx9mcSNMN9JvcgGQOKvxt2/vBZdOv0DcO0aSYkV+bv+4ZAtLsBKOWeQTJ5CtSPs17m/y5a8+vxirvWxiGuMsNFBLHrD1aSAGBPd/5llsEde/TfIgWs+j8GW9Ep6E64LMjqALF0L5BZOSShleMbb2seTNi+d+0xOg5a2nuSRvPhcxFhRqPykmOQ/wAAMm1fE5K2l+jJfE3gZ5J3CdLXulmZHM1hV0oAGlqutqM6SCW7Czg813162G99tQb2l90MD1G01KkO7ppzn1Hy6MOazanOCzwRH6CMqZw09mEU9JozEKw==",
  "valueCertificateThumbprint": "D3411C80B443A01C51B8A8295A21EE82535972D0",
  "encryptionAlgorithm": "AES256"
}

Definitions

EncryptionAlgorithm

The algorithm used to encrypt "Value".

SymmetricEncryptedSecret

Represents the secrets encrypted using Symmetric Encryption Key.

EncryptionAlgorithm

The algorithm used to encrypt "Value".

Name Type Description
AES256
  • string
None
  • string
RSAES_PKCS1_v_1_5
  • string

SymmetricEncryptedSecret

Represents the secrets encrypted using Symmetric Encryption Key.

Name Type Description
encryptionAlgorithm

The algorithm used to encrypt the "Value".

value
  • string

The value of the secret itself. If the secret is in plaintext or null then EncryptionAlgorithm will be none.

valueCertificateThumbprint
  • string

The thumbprint of the cert that was used to encrypt "Value".