pypi Office365-REST-Python-Client 2.5.7
v 2.5.7

latest releases: 2.5.9, 2.5.8
one month 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.