Documentation
¶
Index ¶
- Variables
- func GeneratePassword(formatter string, totalLength int) (string, error)
- func ValidatePwdSettings(formatter string, totalLength int) error
- type SecretsClient
- func (c *SecretsClient) Get(conf *client.ADConf, serviceAccountName string) (*client.Entry, error)
- func (c *SecretsClient) GetPasswordLastSet(conf *client.ADConf, serviceAccountName string) (time.Time, error)
- func (c *SecretsClient) UpdatePassword(conf *client.ADConf, serviceAccountName string, newPassword string) error
- func (c *SecretsClient) UpdateRootPassword(conf *client.ADConf, bindDN string, newPassword string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PasswordComplexityPrefix = "?@09AZ" PwdFieldTmpl = "{{PASSWORD}}" )
Functions ¶
func ValidatePwdSettings ¶
Types ¶
type SecretsClient ¶
type SecretsClient struct {
// contains filtered or unexported fields
}
SecretsClient wraps a *activeDirectory.activeDirectoryClient to expose just the common convenience methods needed by the ad secrets backend.
func NewSecretsClient ¶
func NewSecretsClient(logger hclog.Logger) *SecretsClient
func (*SecretsClient) GetPasswordLastSet ¶
func (*SecretsClient) UpdatePassword ¶
func (*SecretsClient) UpdateRootPassword ¶
Click to show internal directories.
Click to hide internal directories.