public class SecretPatterns extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SecretPatterns.MaskingOutputStream
Delegating output stream that masks occurrences of a set of secrets.
|
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
getAggregateSecretPattern(Collection<String> inputs)
Constructs a regular expression to match against all known forms that the given collection of input strings may
appear.
|
@NonNull public static Pattern getAggregateSecretPattern(@NonNull Collection<String> inputs)
bash -x will only quote arguments echoed when necessary. To avoid leaking the presence or
absence of quoting, the longer form is masked.Copyright © 2016–2021. All rights reserved.