Redrive Docs
Docs: Security

Security

How to turn on sign-in, and what Redrive protects on its own.

Every broker operation Redrive performs runs as the broker account you saved. See Broker permissions for more information.

Turn on sign-in

  1. Set REDRIVE_LICENSE_KEY to a Team license key.
  2. Set REDRIVE_AUTH=users and restart Redrive.
  3. Sign in as admin with the password admin.
  4. Open Users and add an account for each person. See Users & sign-in for more information.

Note: Until you change that password, anyone who can reach Redrive can sign in as admin.

Broker credentials at rest

Redrive encrypts broker and feed passwords before it stores them.

In the desktop app, the encryption keys are protected by your Windows account.

In a server install, the keys are files in the data directory, so limit who can read it. Anyone who can is able to decrypt the passwords.

Contract packages

Installing a contract package loads its code into the Redrive process, with the same access Redrive has. Install only packages you trust. With sign-in on, only admins can install packages and edit feeds.

Message payloads

Redrive doesn’t store the messages it reads from your brokers. It keeps a message only when you save it, and it keeps the exception and consumer of each type of fault a scan finds.

Activity entries never have message bodies or header values in them.