vault.mdx 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ---
  2. title: "Vault"
  3. description: "Quick start guide to using the Vault to secure your services API keys and secrets."
  4. category: "Getting started"
  5. order: 6
  6. author: "Flowsint Team"
  7. tags: ["tutorial", "getting-started", "vault"]
  8. version: "1.2.8"
  9. last_updated_at: "2026-05-15"
  10. ---
  11. ## What is the Vault
  12. A good amount of the tools you'll be using in Flowsint require third party API keys.
  13. The **Vault** (*"Coffre fort"* in french) is the place to centralize and securely store those API keys.
  14. Weither you have a local instance of Flowsint or one fully deployed on a distributed system, you need to have your keys securely stored.
  15. ## Adding a key
  16. In the Flowsint enricher ecosystem, the API keys follow a specific format, being in uppercase letters, and with a declarative name that follows `<service>_API_KEY`.
  17. ## Current limitations
  18. For now, we cannot match a particular key from the Vault to an enricher **directly from the UI**. The enricher declares the API key variable name it requires, like the following in the core of the Enricher:
  19. ```python
  20. @classmethod
  21. def get_params_schema(cls) -> List[Dict[str, Any]]:
  22. """Declare required parameters for this enricher"""
  23. return [
  24. {
  25. "name": "PDCP_API_KEY",
  26. "type": "vaultSecret",
  27. "description": "The ProjectDiscovery Cloud Platform API key for asnmap.",
  28. "required": True,
  29. },
  30. ]
  31. ```
  32. This is a known limitation and we are working on improving this.
  33. In the meanwhile, here is a list of the needed keys to run Flowsint at it's full potential:
  34. ```bash
  35. # for enrichers
  36. WHOXY_API_KEY # Whoxy domain search engine [WHOXY]
  37. PDCP_API_KEY # ProjectDiscovery Cloud Platform [ASNMAP], [NAABU] etc
  38. HIBP_API_KEY # HaveIBeenPwned API key [HIBP]
  39. ETHERSCAN_API_KEY # Etherscan crypto API key [ETHERSCAN]
  40. # for Flo, AI assistant
  41. MISTRAL_API_KEY
  42. # but other providers will be supported soon (ChatGPT, etc.)
  43. ```
  44. There are also some other tools that could need a bunch of other API keys like [Subfinder](https://github.com/projectdiscovery/subfinder). Configuring them is not possible for now, but will be soon.
  45. Stay tuned for updates as those mechanisms may vary in the future, as the goal is to keep the user experience as smooth as possible.