-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[DoNotMerge]Added EncryptionIdentity to Encryption properties. #11602
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
Changes from 1 commit
cec4983
80ba422
7867e10
afc7da3
58757e7
ef13ece
6c56fb4
e9beee0
0ff50e9
192bec2
1e8ef3c
14bb9ef
cd9db0a
9b4c776
9f831c9
faa5744
60cdf16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2132,6 +2132,16 @@ | |
| } | ||
| } | ||
| }, | ||
| "EncryptionIdentity":{ | ||
|
||
| "description": "Encryption Identity properties when storage account is associated with a UserAssignedIdentity.", | ||
|
||
| "properties": { | ||
| "userAssignedIdentity":{ | ||
| "type": "string", | ||
| "description": "ResourceID of the UserAssignedIdentity to be associated with the storage account.", | ||
|
||
| "x-ms-client-name": "UserAssignedIdentity" | ||
| } | ||
| } | ||
| }, | ||
| "Encryption": { | ||
| "properties": { | ||
| "services": { | ||
|
|
@@ -2160,6 +2170,11 @@ | |
| "$ref": "#/definitions/KeyVaultProperties", | ||
| "x-ms-client-name": "KeyVaultProperties", | ||
| "description": "Properties provided by key vault." | ||
| }, | ||
| "identity": { | ||
| "$ref": "#/definitions/EncryptionIdentity", | ||
| "x-ms-client-name": "Identity", | ||
| "description": "Encryption Identity properties when storage account is associated with a UserAssignedIdentity." | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could user both assign a user identity here, and also assign a system identity?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No. "EncryptionIdentity" property is only for UserAssignedIdentities.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then if user try to assign system identity to an storage account which already has user assigned identity, what will happen? vise version?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the 'Identity' property you are referring to is the property on the storage account level which can be either 'SystemAssigned' and 'UserAssigned'. The changes in the current PR is not modifying that property. The "EncryptionIdentity" here is referring to a new 'identity' property within the scope of the EncryptionProperties of the storage account. These properties only apply to UserAssignedIdentities.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the reply!
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi Sorry for the late reply. I got pulled into higher priority tasks for two weeks. I will confirm the details with feature owner and reply here soon
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. EncryptionIdentity allows you to specify the specific user assigned identity that needs to be used for encryption. When not applied, Storage defaults to attempting to use the SystemAssigned Identity. |
||
| } | ||
| }, | ||
| "required": [ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.