#include <kvstore.h> kv_error_t kv_create_password_credentials(kv_impl_t *impl, const char *username, const char *password, kv_credentials_t **creds)
Creates a credentials structure with the username/password pair that you want to use to authenticate to a store. These credentials are used with kv_open_store_login() or kv_store_login().
Release these credentials using kv_release_credentials().
The impl parameter is the implementation structure you are using for the library. It is created using kv_create_jni_impl().