azure

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package azure provides verifiers for Azure secrets. The storage verifier performs format validation on Azure Storage connection strings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntraVerifier

type EntraVerifier struct{}

EntraVerifier validates Azure Entra (formerly Azure AD) client secrets by checking format compliance. It NEVER logs or persists raw secret values.

Note: This is a format-check verifier; it performs no live verification. The result is therefore always StatusUnverified. Live verification would require an OAuth2 client credentials flow with the associated client_id and tenant_id, which are not available from the secret alone.

func (*EntraVerifier) Type

func (v *EntraVerifier) Type() string

Type returns the detector ID this verifier handles.

func (*EntraVerifier) Verify

Verify checks if the detected Azure Entra client secret has a valid format. Raw contains the secret value.

type StorageVerifier

type StorageVerifier struct{}

StorageVerifier validates Azure Storage connection strings by checking that the required fields (AccountName, AccountKey) are present and the AccountKey is valid base64. It NEVER logs or persists raw key values.

Note: This is a format-check verifier; it performs no live verification. The result is therefore always StatusUnverified. Live verification would require the Azure SDK to perform HMAC-SHA256 signed requests.

func (*StorageVerifier) Type

func (v *StorageVerifier) Type() string

Type returns the detector ID this verifier handles.

func (*StorageVerifier) Verify

Verify checks if the detected Azure Storage connection string has valid format. Raw contains the full connection string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL