We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1f851 commit 25b8597Copy full SHA for 25b8597
Secrets/SodiumVault.php
@@ -30,7 +30,7 @@ class SodiumVault extends AbstractVault implements EnvVarLoaderInterface
30
* @param $decryptionKey A string or a stringable object that defines the private key to use to decrypt the vault
31
* or null to store generated keys in the provided $secretsDir
32
*/
33
- public function __construct(string $secretsDir, string|\Stringable $decryptionKey = null)
+ public function __construct(string $secretsDir, #[\SensitiveParameter] string|\Stringable $decryptionKey = null)
34
{
35
$this->pathPrefix = rtrim(strtr($secretsDir, '/', \DIRECTORY_SEPARATOR), \DIRECTORY_SEPARATOR).\DIRECTORY_SEPARATOR.basename($secretsDir).'.';
36
$this->decryptionKey = $decryptionKey;
0 commit comments