Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naming of DiskEncryptionSettings properties #291

Closed
anuchandy opened this issue May 9, 2016 · 3 comments
Closed

Naming of DiskEncryptionSettings properties #291

anuchandy opened this issue May 9, 2016 · 3 comments
Assignees
Labels
Compute P1 Service Attention This issue is responsible by Azure service team.

Comments

@anuchandy
Copy link
Member

Currently VM's disk encryption settings is defined as below:

"DiskEncryptionSettings": {
      "properties": {
        "diskEncryptionKey": {
          "$ref": "#/definitions/KeyVaultSecretReference",
          ...
        },
        "keyEncryptionKey": {
          "$ref": "#/definitions/KeyVaultKeyReference",
          ...
        },
        ...
      },
      "description": "Describes a Encryption Settings for a Disk"
}

DiskEncryptionSettings:

The naming of properties are bit confusing - diskEncryptionKey, keyEncryptionKey. names such as keyVaultSecretReference and keyVaultKeyReference will be better. Similar to imageReference

I know we cannot introduce breaking changes in server, but we could use x-ms-client-name so that atleast generated code will have better variable name.

@huangpf @devigned @amarzavery

@huangpf
Copy link
Contributor

huangpf commented May 9, 2016

@hyonholee This is initially requested by the disk encryption team. Could you please help involve them? Thanks.

@ejarvi
Copy link

ejarvi commented Feb 10, 2017

I was not involved with the initial design or selection of these property names, but what I do know is that the disk encryption key is different from the key encryption key. It would be valuable to preserve some distinction in the property name that would indicate which one is for the disk encryption key and which one is for the key encryption key.

https://docs.microsoft.com/en-us/azure/security/azure-security-disk-encryption#terminology

@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Sep 26, 2018
@salameer
Copy link
Member

salameer commented Oct 8, 2018

Closing due to inactivity. Anu please reopen if this is still an issue

@salameer salameer closed this as completed Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compute P1 Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

6 participants