Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10162

Missing code example for secured scala SDK

Details

    Description

      In the secure connections path, after that line:

      The next step is to enable encryption and pass it the path to the certificate file.
      there is a missing code example (as exist in the Java SDK)
      https://docs.couchbase.com/java-sdk/current/howtos/managing-connections.html#ssl

      ClusterEnvironment env = ClusterEnvironment.builder()
          .securityConfig(SecurityConfig.enableTls(true).trustCertificate(Paths.get("/path/to/cluster.cert"))).build();
      

      Reporter: Roi Katz
      E-mail: roi.katz@couchbase.com

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard.smedley Richard Smedley
            roi.katz Roi Katz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty