Change record status: 
Project: 
Introduced in branch: 
10.1.x
Introduced in version: 
10.1.0
Description: 

Background

PHP 8.2 provides the attribute #[SensitiveParameter] to exclude sensitive data from backtraces. For more information, see PHP RFC: Redacting parameters in back traces.

What does this change do

This change adds the #[SensitiveParameter] attribute to a number of password, private key, session ID and hash arguments to exclude the values from backtraces.

Impacts: 
Module developers