         ^PoolingOptions pooling-options (.poolingOptions builder)]
     (when port
       (.withPort builder port))
+
+    (when credentials
+      (.withCredentials builder (:username credentials) (:password credentials)))
 
     (when connections-per-host
       (.setCoreConnectionsPerHost pooling-options HostDistance/LOCAL

     * contact-points - cluster hosts to connect to
     * port - port, listening to incoming binary CQL connections (make sure you have `start_native_transport` set
       to true).
     * connections-per-host - specifies core number of connections per host.
     * max-connections-per-host - maximum number of connections per host.
     * retry-policy - configures the retry policy to use for the new cluster.

       use `with-consistency-level` to specify consistency level on a per-query basis"
  [{:keys [contact-points
           port
           credentials
           connections-per-host
           max-connections-per-host

