FastStream Redis Security#
This chapter discusses the security options available in FastStream and how to use them.
Security Objects#
FastStream allows you to enhance the security of applications by using security objects when creating brokers. These security objects encapsulate security-related configurations and mechanisms. Security objects supported in FastStream for Redis are:
1. BaseSecurity Object#
Purpose: The BaseSecurity object wraps an ssl.SSLContext object and is used to enable SSL/TLS encryption for secure communication between FastStream services and external components such as message brokers.
Usage:
1 2 3 4 5 6 7 8 9 | |
2. SASLPlaintext Object with SSL/TLS#
Purpose: The SASLPlaintext object is used for authentication in SASL (Simple Authentication and Security Layer) plaintext mode. It allows you to provide a username and password for authentication.
Usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |