passphrase

The `passphrase` directive configures the passphrase for cryptographic operations in the NGINX SRT module.

Syntaxpassphrase string;
Defaultnone
Context
Arguments1

Description

The passphrase directive is used within the NGINX SRT (Secure Reliable Transport) module to specify a passphrase that is utilized for encryption and decryption processes related to SRT connections. This is crucial for securing data transfers over SRT, ensuring that any sensitive information transmitted remains confidential and secure from unauthorized access. The directive accepts a single string argument, which acts as the passphrase.

When the passphrase directive is defined, it influences the module's capability to encrypt or decrypt data depending on usage context, whether it's a server-side or client-side configuration. It interacts with the underlying libsrt library, which handles the transport layer aspects of SRT communications. The directive must be carefully managed, as the strength and confidentiality of the passphrase directly affect the security posture of the SRT connections. The directive should be used in conjunction with other SRT configuration settings such as srt_proxy_pass, to deliver a comprehensive secure communication channel within an NGINX service landscape.

Config Example

srt {
    server {
        listen 4321;
        passphrase "your_secret_passphrase";
        proxy_pass tcp://127.0.0.1:5678;
    }
}

Ensure the passphrase is kept confidential and not exposed in version control systems.

Using a weak passphrase can compromise the security of data transfers.

The passphrase should comply with security best practices to ensure it is strong enough. Absence of the directive will lead to unencrypted transfers.

← Back to all directives