Skip to content

Approaches for tenant-specific secrets? #457

Description

@ShawnFumo

Just curious if there is guidance on tenant-specific secrets while using this approach? If we went this route, we'd continue using Auth0 for tenant-specific logins (with nextjs-auth0), and that requires a few secrets per tenant.

The two thoughts that come immediately to mind are:

  • HCP Vault Secrets (prefixed by the subdomain like the other values in Redis)
  • Keeping an encryption key in a Sensitive Environment Variable and encrypting ourselves before storing in Redis

The second would require a bit more code, but I'm guessing would be cheaper and have less latency?

Any thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions