Back to Geneos FAQ

Password Retrieval from HashiCorp Vault

When the Gateway setup is saved, it fetches the password from a HashiCorp Vault and securely passes it to the netprobe in an encrypted manner.

Current Behavior of HashiCorp Vault Token/Password Retrieval Copied

  1. Initial Load without Netprobe Connection:

    • The Gateway does not make any request to the Vault if no Netprobe is connected.
  2. Netprobe Connection Established:

    • Once the Netprobe connects, the Gateway requests the Vault for both the token and password.
    • The retrieved password is stored in-memory and can be observed in the Gateway logs if debug logging for ExternalPasswordManager is enabled.
    • The stored password appears in the format +encs+xxxxxx, representing an in-memory reference rather than a physical file.
    • This password is valid for the duration of the session. If the password in the Vault is rotated, the stored password becomes invalid, as the Gateway does not automatically fetch a new password.
  3. Password Refresh Mechanism:

    • A new password is retrieved only during a password re-validation, which occurs in the following scenarios:
      • A change is made to the extPwd field of the sampler.
      • The Gateway is restarted.

From Geneos version GA7.1.0, we have implemented a new feature (AA-7035) that cached external passwords can now be refreshed at regular configured intervals or on setup reload.

["Geneos"] ["Geneos > Gateway"] ["FAQ"]

Was this topic helpful?