-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add "federatedClientId" and UserAssignedIdentities for disk api version 2022-03-02 for public preview #22350
Comments
Compute |
@laurawu19 For the support of managed identity, we usually do not use |
In addition, I found that the property of |
Yes. The design you provided looks good to us. |
In DiskRP internally, the minimun api version required is 2021-08-01, and it is included in the swagger for "2022-03-02". Is the policy that cli should follow the same as swagger? If so, we will go with 2022-03-02. |
Yes, because CLI depends on the Python SDK, and the api-version folder of Python SDK comes from the definition of Swagger |
@laurawu19 The modified commands are attached following, and are they meet your expectations? For federatedClientId:
For managed identity:
|
Yes. The commands look good to me! |
Related command
az disk-encryption-set create --federatedClientId "13ebe945-1314-41b4-8b58-f3784e0dd278" --identityType "UserAssigned" --userAssignedIdentities "{ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} :{}}"
az disk-encryption-set update --federatedClientId "13ebe945-1314-41b4-8b58-f3784e0dd278" --identityType "UserAssigned" --userAssignedIdentities "{ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} :{}}"
Resource Provider
<Microsoft.Azure.Management.Compute (specifically DiskRP)>
Description of Feature or Work Requested
Customer can use multi-tenant application client id to access key vault in a different tenant. Setting federatedClientId to 'None' will clear the property.
Need to support new identityTypes. Previously the default identityType is systemAssigned, now CLI need to support 2 more options for identityType: UserAssigned, and "SystemAssigned, UserAssigned".
UserAssignedIdentities is a dictionary with key-value pairs.
Powershell design:
https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1196
Minimum API Version Required
<2021-08-01>
Swagger Link
Azure/azure-rest-api-specs#18866
Target Date
<July 8th,2022>
The text was updated successfully, but these errors were encountered: