Skip to content

Add Redis username parameter #11259

@christianpinger

Description

@christianpinger

NetBox version

v.3.4.0

Feature type

Change to existing functionality

Proposed functionality

Allow for specifying an username in the Redis configuration, to be able to connect to Redis servers, which have an redis-username configured.

Implementation:

  • Add optional username parameter to redis-tasks and redis-caching in configuration.py
  • Add TASKS_REDIS_USERNAME and CACHING_REDIS_USERNAME to settings.py
  • Add username to cache-options and RQ_PARAMS in setting.py

Use case

When you have an Redis instance with username configured, you are unable to connect. E.g. Managed-Redis at OVH-cloud forces you to set an redis-user, so this service can't be used for NetBox.

If you could specify an redis user, it would allow users to connect to more redis-instances.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions