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

feat(registry-manager): Add support to use user defined msi for import export jobs. #1915

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

vinagesh
Copy link
Member

@vinagesh vinagesh commented Apr 26, 2021

Checklist

  • I have read the contribution guidelines.
  • I added or modified the existing tests to cover the change (we do not allow our test coverage to go down).
  • This pull-request is submitted against the master branch.

Description of the changes

This contains the implementation to support using configured user defined managed identity to perform import and export jobs. What this means is the hub itself will use the passed in managed identity (in JobProperties) to perform operations on the storage account used during import and export.

This feature is still under a ff and only works on a specific subscription. I've tested these changes against that and pushing the code to a feature branch. I have not turned on any gates for this branch as the feature is not yet available in canary. Once it is available, I will create the required assets and add the gating.

Details about where the feature is enabled and how to use it:
https://review.docs.microsoft.com/en-us/azure/iot-hub/iot-hub-managed-identity?branch=pr-en-us-154985

Use following subscriptions for creating the hub.
1. DEVICEHUB_DEV1 [91d12660-3dec-467a-be2a-213b5544ddc0]
2. IOT_PLATFORM_UPX_TEST --> portal team test sub

Use this link for your portal access https://ms.portal.azure.com/?feature.canmodifystamps=true&Microsoft_Azure_Iothub=tip1

@vinagesh vinagesh changed the title feat(registry-manager): Add support to use user defined msi for impor… feat(registry-manager): Add support to use user defined msi for import export jobs. Apr 26, 2021
@vinagesh vinagesh requested a review from nimengan April 26, 2021 22:37
@@ -118,6 +118,13 @@ public JobProperties()
[JsonProperty(PropertyName = "storageAuthenticationType", NullValueHandling = NullValueHandling.Ignore)]
public StorageAuthenticationType? StorageAuthenticationType { get; set; }

/// <summary>
/// The managed identity used to access the storage account for import and export jobs.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nimengan - Here is the description I added. We should keep this consistent across SDKs and in the swagger. At the moment we don't have any description for this in the swagger.

@vinagesh vinagesh merged commit 44cb626 into previews/msi Apr 27, 2021
@vinagesh vinagesh deleted the vinagesh/msi branch April 27, 2021 21:26
vinagesh added a commit that referenced this pull request May 10, 2021
* feat(registry-manager): Add support to use user defined msi for import export jobs. (#1915)

* feat(e2e): Adding e2e test for msi support on import jobs. (#1925)

* Updating yaml files to run new tests (#1946)
timstewartm pushed a commit to timstewartm/azure-iot-sdk-csharp that referenced this pull request May 30, 2024
…re#1948)

* feat(registry-manager): Add support to use user defined msi for import export jobs. (Azure#1915)

* feat(e2e): Adding e2e test for msi support on import jobs. (Azure#1925)

* Updating yaml files to run new tests (Azure#1946)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants