EnvVarRedactionRule class

A redaction rule that dynamically redacts values of environment variables whose names match documented secret-like patterns.

Implemented types

Constructors

EnvVarRedactionRule()

Properties

description → String
Human-readable description of what this rule redacts.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier of this rule.
no setteroverride
marker → String
The stable, non-reversible marker substituted for secrets.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleSecret → String
A sample secret value of the shape targeted by this rule.
no setteroverride

Methods

formatSample(String secret) → String
Formats the sample secret into a diagnostic string for testing.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redact(String input, Map<String, String> environment) → String
Performs write-time redaction on input.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited