Describe the bug
I noticed this when calling pipeline.dumps but it should be the case when simply calling to_dict on the QDrantDocumentStore as well. The YAML config for the document store will contain a metadata key which holds:
The api-key attribute has the api key (loaded via Secret.from_env_var) in plaintext.
Expected behavior would be that the api key does not get serialized in plain text.
To Reproduce
Create an instance of QDrantDocumentStore and call to_dict
Describe your environment (please complete the following information):
- OS: [e.g. iOS]
- Haystack version:
- Integration version:
Describe the bug
I noticed this when calling pipeline.dumps but it should be the case when simply calling
to_dicton the QDrantDocumentStore as well. The YAML config for the document store will contain ametadatakey which holds:User-Agentapi-keyThe
api-keyattribute has the api key (loaded via Secret.from_env_var) in plaintext.Expected behavior would be that the api key does not get serialized in plain text.
To Reproduce
Create an instance of QDrantDocumentStore and call to_dict
Describe your environment (please complete the following information):