Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) Get

func (c *SecretsClient) Get(conf *client.ADConf, serviceAccountName string) (*client.Entry, error)

func (*SecretsClient) GetPasswordLastSet

func (c *SecretsClient) GetPasswordLastSet(conf *client.ADConf, serviceAccountName string) (time.Time, error)

func (*SecretsClient) UpdatePassword

func (c *SecretsClient) UpdatePassword(conf *client.ADConf, serviceAccountName string, newPassword string) error

func (*SecretsClient) UpdateRootPassword

func (c *SecretsClient) UpdateRootPassword(conf *client.ADConf, bindDN string, newPassword string) error

Jump to

Keyboard shortcuts

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