Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
The secrets module provides a secret generator, a secret masker, a Vault interface, and two vault implementations: json and memory.
default
Overview
Represents a default secret generator.
Represents a secret masker that can be used to mask sensitive information in strings.
Generates a secret string of the specified length using the given characters. If no characters are provided, the default character set will be used.
Represents a JSON vault that stores secrets.
Represents a memory vault that stores secrets in memory.
Normalizes a key by replacing special characters with a delimiter or hyphen-minus.
The default global secret generator used to create cryptographically random secrets.
Represents a secret masker that can be used to mask sensitive information in strings.
Validates whether the given data meets the password requirements. The password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character.
Represents a vault that stores secrets.
Represents a default secret generator.
Generates a secret string of the specified length using the given characters. If no characters are provided, the default character set will be used.
The default global secret generator used to create cryptographically random secrets.
Validates whether the given data meets the password requirements. The password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character.
Represents a JSON vault that stores secrets.
Represents a secret masker that can be used to mask sensitive information in strings.
Represents a secret masker that can be used to mask sensitive information in strings.
Represents a memory vault that stores secrets in memory.
Normalizes a key by replacing special characters with a delimiter or hyphen-minus.
Represents a vault that stores secrets.