pypi Office365-REST-Python-Client 2.5.7
v 2.5.7

latest releases: 2.5.13, 2.5.12, 2.5.11...
7 months ago

Changelog

  • #836: support for passing a passphrase in ClientContext.with_client_certificate method

Example:

cert_credentials = {
    "tenant": tenant_name,
    "client_id": client_id,
    "thumbprint": cert_thumbprint,
    "cert_path": "selfsignkeyenc.pem",
    "passphrase": "Password",
}
ctx = ClientContext(site_url).with_client_certificate(**cert_credentials)
current_web = ctx.web.get().execute_query()

Don't miss a new Office365-REST-Python-Client release

NewReleases is sending notifications on new releases.