Closed smithsz closed 6 years ago
Thanks for your hard work, please ensure all items are complete before opening.
Support IAM authentication in replications. For example:
replicator
client.replicator() .source("https://foo.cloudant.com/src") .sourceIamApiKey("mysourcedbiamapikey") .target("https://bar.cloudant.com/tgt") .targetIamApiKey("mytargetdbiamapikey") .save();
/_replicate
client.replication() .source("https://foo.cloudant.com/src") .sourceIamApiKey("mysourcedbiamapikey") .target("https://bar.cloudant.com/tgt") .targetIamApiKey("mytargetdbiamapikey") .trigger();
Expose new methods on the underlying replication document classes. These add the required IAM API key fields to the generated replication document JSON.
Example IAM authenticated replication document:
{ "source": { "url": "...", "auth": { "iam": { "api_key": "<key>" } } }, "target": { "url": "...", "auth": { "iam": { "api_key": "<key>" } } }, }
Includes additional mock unit tests.
Fixes #419.
I think I'm +1 once that last utf8 piece is done
Thanks for your hard work, please ensure all items are complete before opening.
What
Support IAM authentication in replications. For example:
replicator
database:/_replicate
endpoint:How
Expose new methods on the underlying replication document classes. These add the required IAM API key fields to the generated replication document JSON.
Example IAM authenticated replication document:
Testing
Includes additional mock unit tests.
Issues
Fixes #419.