cloudant / python-cloudant

A Python library for Cloudant and CouchDB
Apache License 2.0
163 stars 55 forks source link

Add option for client to authenticate with IAM token server. #420

Closed smithsz closed 5 years ago

smithsz commented 5 years ago

Checklist

Description

Add option for client to authenticate with IAM token server.

Fixes #419.

Approach

Add additional kwargs iam_client_id and iam_client_secret to Cloudant client constructor.

Schema & API Changes

Adds additional kwargs. No breaking API changes.

Security and Privacy

No change.

Testing

Includes additional mock unit test.

Monitoring and Logging

No change.