Authentication¤
CouchbaseAuthenticator¤
CouchbasePasswordAuthenticator¤
              Bases: CouchbaseAuthenticator
Password-based authenticator for Couchbase.
Parameters:
- 
            
username(Secret, default:from_env_var('CB_USERNAME')) –Username to use for authentication.
 - 
            
password(Secret, default:from_env_var('CB_PASSWORD')) –Password to use for authentication.
 - 
            
cert_path(Optional[str], default:None) –Path of the certificate trust store. Defaults to None.
 
Source code in src/couchbase_haystack/document_stores/auth.py
                to_dict ¤
Serializes the component to a dictionary.
Returns:
Source code in src/couchbase_haystack/document_stores/auth.py
              
            from_dict
  
      classmethod
  
¤
    Deserializes the component from a dictionary.
Parameters:
Returns:
- 
              
CouchbasePasswordAuthenticator–Deserialized component.
 
Source code in src/couchbase_haystack/document_stores/auth.py
              CouchbaseCertificateAuthenticator¤
              Bases: dict
Certificate-based authenticator for Couchbase.
Parameters:
- 
            
cert_path(Optional[str], default:None) –Path to the client certificate file. Defaults to None.
 - 
            
key_path(Optional[str], default:None) –Path to the client key file. Defaults to None.
 - 
            
trust_store_path(Optional[str], default:None) –Path to the certificate trust store. Defaults to None.
 
Source code in src/couchbase_haystack/document_stores/auth.py
                to_dict ¤
Serializes the component to a dictionary.
Returns:
Source code in src/couchbase_haystack/document_stores/auth.py
              
            
            from_dict
  
      classmethod
  
¤
    Deserializes the component from a dictionary.
Parameters:
Returns:
- 
              
CouchbaseCertificateAuthenticator–Deserialized component.