Skip to content

Commit

Permalink
Merge branch 'cloudant_4152' of https://github.com/OpenLiberty/blogs
Browse files Browse the repository at this point in the history
…into cloudant_4152
  • Loading branch information
revijay committed Nov 28, 2024
2 parents 2194585 + f9125dc commit 37f653d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posts/2024-11-25-cloudant-with-open-liberty.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ cloudant.dbname=testdb
----

Instead of using `BasicAuthentication` with a username and password, Cloudant also supports `IAM (Identity and Access Management)` authentication, which allows users and applications to authenticate using secure API keys or IAM tokens. By using IAM authentication, we can avoid the risks associated with managing passwords and ensure that only authorized entities can interact with Cloudant databases.
Follow the https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-getting-started-with-cloudant&_ga=2.42518757.1165320250.1604321683-1614077795.1594908456[IBM Cloudant Setup] guide to create a Cloudant instance and API key for accessing it.
Follow the https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-getting-started-with-cloudant[IBM Cloudant Setup] guide to create a Cloudant instance and API key for accessing it.

The code snippet below shows how can we create a CDI Producer to inject a Cloudant client with IAM authentication.
[source, java]
Expand Down

0 comments on commit 37f653d

Please sign in to comment.