Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I secure this? #25

Open
mesgar opened this issue Jul 7, 2023 · 3 comments
Open

How do I secure this? #25

mesgar opened this issue Jul 7, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@mesgar
Copy link

mesgar commented Jul 7, 2023

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

I followed the walkthrough blog post:
https://devblogs.microsoft.com/semantic-kernel/the-power-of-persistent-memory-with-semantic-kernel-and-qdrant-vector-database/
and I'm wondering how to secure it properly?

Qdrant supports api key but how do I enable it during the deployment?
https://qdrant.tech/documentation/guides/security/

@mesgar
Copy link
Author

mesgar commented Jul 8, 2023

I decided to deploy qdrant on a single Azure VM (Standard E2s v3 (2 vcpus, 16 GiB memory)) for now.
It's much easier to use persistent volumes for large-scale datasets, setting SSL and API key.

i.e.
docker run -p 6333:6333
-v /mnt/qdrant/config/XXX-custom.yaml:/qdrant/config/production.yaml
-v /mnt/qdrant/storage:/mnt/qdrant/storage
-v /mnt/qdrant/snapshots:/mnt/qdrant/snapshots
qdrant/qdrant

and in the XXX-custom.yaml file,
storage:
storage_path: /mnt/qdrant//storage
...
snapshots_path: /mnt/qdrant/snapshots
...
on_disk_payload: true

@tawalke
Copy link
Contributor

tawalke commented Sep 6, 2023

@mesgar Thanks for the feedback. I'm going to add this to backlog so that we have auth option in repo.

@tawalke tawalke added the enhancement New feature or request label Sep 6, 2023
@D4stiny
Copy link

D4stiny commented May 22, 2024

Found this issue while trying to secure a cloud deployment of Qdrant. Unfortunately seems non-trivial outside of Qdrant Cloud.

@tawalke FYI- looks like the default config in this repo exposes the "internal" gRPC port via the load balancer. If the documentation is to be trusted, this is an inherent security flaw:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants