-
Notifications
You must be signed in to change notification settings - Fork 381
test (azure-iot-device) : DPS cert management client cert issuance tests #1054
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
Conversation
cartertinney
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason this newly generated service client is here rather than in the dev_utils package? Feels more appropriate to be there, given the size of the thing.
azure-iot-device/samples/dps-cert-mgmt/provision_symmetric_key_client_cert_issuance.py
Outdated
Show resolved
Hide resolved
tests/e2e/provisioning_e2e/tests/test_sync_symmetric_enrollments.py
Outdated
Show resolved
Hide resolved
| linked_iot_hub = connection_string_to_hostname(os.getenv("IOTHUB_CONNECTION_STRING")) | ||
| # TODO Delete this line. This is a pre created variable in key vault now. | ||
| symmetric_key_for_cert_management = os.getenv("DPS_CERT_ISSUANCE_SYM_KEY_SYNC") | ||
| connection_string = os.getenv("IOTHUB_CONNECTION_STRING") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outside the scope of this PR, but at some point we should probably try and overhaul these DPS E2Es to use some of the enhancements and shared infrastructure Bert created for IoTHub E2Es + stress tests.
Probably can wait til V3 though
|
Ship it. |
Some portions of provisioning service SDK which was used for tests have been utilized for the tests.
Our dependency is now only on ms-rest.