public class SecretDetector extends Object
| Constructor and Description |
|---|
SecretDetector() |
| Modifier and Type | Method and Description |
|---|---|
static String |
maskAWSSecret(String sql)
mask AWS secret in the input string
|
static String |
maskSASToken(String text)
Masks SAS token(s) in the input string
|
static String |
maskSecrets(String text)
Masks any secrets present in the input string.
|
public static String maskAWSSecret(String sql)
sql - public static String maskSASToken(String text)
text - Text which may contain SAS token(s)public static String maskSecrets(String text)
maskSASToken(String)) and AWS keys
(maskAWSSecret(String).text - Text which may contain secretsCopyright © 2019. All rights reserved.