Documentation
¶
Overview ¶
Package aws provides a verifier for AWS Access Key credentials. It uses AWS STS GetCallerIdentity to check whether a key pair is active.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier checks whether an AWS access key pair is active by calling STS GetCallerIdentity. It NEVER logs or persists raw key values.
func (*Verifier) Verify ¶
func (v *Verifier) Verify(ctx context.Context, raw detector.RawFinding) finding.VerificationResult
Verify checks if the detected AWS access key is valid/active. Raw contains the Access Key ID and RawV2 contains the Secret Access Key. Both are required for verification.
Click to show internal directories.
Click to hide internal directories.