Skip to content

[FEATURE] Authentication against Memcached #3015

@arovetto

Description

@arovetto

Is your feature request related to a problem? Please describe.

Using cachedb_memcached module it seems not possible to provide username/password for authentication against a memcached server protected with SASL.
Describe the solution you'd like

It would be nice to use authentication also with this kind of cache (in the same way is possible to do with redis), because sensitive information could be stored there (e.g. user's password).
Implementation

  • Component: cachedb_memcached
  • Type: module's parameter
  • Name: cachedb_url
    Extend the usage of cachedb_url to provide also username and passoword like in the following example
    modparam("cachedb_memcached", "cachedb_url","memcached:g1://user2:Password1234@memcached-host:11211/")
    Describe alternatives you've considered

Additional context

In order to configure memcached with authentication, I've followed the following guides:
https://github.com/memcached/memcached/wiki/SASLHowto
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-memcached-on-ubuntu-18-04-2

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions