Blog https://wordpress.com/post/mcpforlife.com/48 option 1 step 4
context = adal.AuthenticationContext(authority_host_uri, api_version=None) | |
code = context.acquire_user_code(keyvault_resource_uri, client_id) | |
print(code['message']) | |
kv_token = context.acquire_token_with_device_code(keyvault_resource_uri, code, client_id) | |
kv_credential = AADTokenCredentials(kv_token, client_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment