Documentation
¶
Index ¶
- func CombineShares(shares [][]byte) ([]byte, error)
- func Contains(actions []string, action string) bool
- func ConvertCertificateToPEM(certDER []byte) string
- func ConvertPrivateKeyToPEM(privateKey interface{}) (string, error)
- func GeneratePassword() string
- func GenerateUsername() string
- func MD5Checksum(data []byte) string
- func ScanForSecrets(text string) []string
- func ToInt(i string) int
- func ToInt64(i string) int64
- type AppRoleIdentity
- type Identity
- type UserIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineShares ¶
CombineShares combines the shares to reconstruct the master key
func ConvertCertificateToPEM ¶
ConvertCertificateToPEM converts a DER encoded certificate to PEM format
func ConvertPrivateKeyToPEM ¶
ConvertPrivateKeyToPEM converts a private key to PEM format
func GeneratePassword ¶
func GeneratePassword() string
func GenerateUsername ¶
func GenerateUsername() string
func MD5Checksum ¶
func ScanForSecrets ¶
ScanForSecrets scans the given text and returns potential secrets
Types ¶
type AppRoleIdentity ¶
func (AppRoleIdentity) GetAuthType ¶
func (a AppRoleIdentity) GetAuthType() string
func (AppRoleIdentity) GetGroups ¶
func (a AppRoleIdentity) GetGroups() []string
func (AppRoleIdentity) GetID ¶
func (a AppRoleIdentity) GetID() string
func (AppRoleIdentity) GetUsername ¶
func (a AppRoleIdentity) GetUsername() string
type UserIdentity ¶
func (UserIdentity) GetAuthType ¶
func (u UserIdentity) GetAuthType() string
func (UserIdentity) GetGroups ¶
func (u UserIdentity) GetGroups() []string
func (UserIdentity) GetID ¶
func (u UserIdentity) GetID() string
func (UserIdentity) GetUsername ¶
func (u UserIdentity) GetUsername() string
Click to show internal directories.
Click to hide internal directories.