Documentation
¶
Index ¶
- func DecryptFileSymmetric(inputPath string, password string)
- func DeleteSecret(filePath, secretID string) error
- func EncryptFileSymmetric(inputPath string, password string)
- func ExportSecrets(filePath, exportFilePath string, password string) error
- func GenerateKeyPair(outputDir, name string, keySize int)
- func GenerateSSHKeyPair(outputDir, name string, keySize int)
- func GetSecret(filePath, secretID, password string) (string, error)
- func ImportSecrets(filePath, importFilePath string, password string) error
- func InitializeSecretsStore(filePath string) error
- func ListSecrets(filePath string) ([]string, error)
- func ReadMultilineInput() (string, error)
- func ReadSingleLineInput() (string, error)
- func ScanSecretsInPath(path string, printFalsePositives bool)
- func SetSecret(filePath, secretID, value, password string) error
- type SecretMatch
- type SecretMatches
- type SecretsStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptFileSymmetric ¶ added in v0.1.5
func DeleteSecret ¶ added in v0.2.15
func EncryptFileSymmetric ¶ added in v0.1.5
func ExportSecrets ¶ added in v0.2.15
func GenerateKeyPair ¶
func GenerateSSHKeyPair ¶
func ImportSecrets ¶ added in v0.2.15
func InitializeSecretsStore ¶ added in v0.2.15
func ListSecrets ¶ added in v0.2.15
func ReadMultilineInput ¶ added in v0.2.19
func ReadSingleLineInput ¶ added in v0.2.19
func ScanSecretsInPath ¶ added in v0.2.5
Types ¶
type SecretMatch ¶ added in v0.2.5
func (SecretMatch) Equals ¶ added in v0.2.5
func (s SecretMatch) Equals(other SecretMatch) bool
type SecretMatches ¶ added in v0.2.5
type SecretMatches struct {
// contains filtered or unexported fields
}
func (*SecretMatches) Add ¶ added in v0.2.5
func (sm *SecretMatches) Add(match SecretMatch)
func (*SecretMatches) Contains ¶ added in v0.2.5
func (sm *SecretMatches) Contains(match SecretMatch) bool
type SecretsStore ¶ added in v0.2.15
Click to show internal directories.
Click to hide internal directories.