Documentation ¶
Index ¶
- func AdminPassword(user, secretName, namespace string, k *kube.Kubernetes, ctx context.Context) (string, error)
- func CreateIdentitiesFor(usr string, pass string) ([]byte, error)
- func FindPassword(usr string, descriptor []byte) (string, error)
- func GenerateTruststore(pemFiles [][]byte, password string) ([]byte, error)
- func GetAdminCredentials(user string) ([]byte, error)
- func GetUserCredentials() ([]byte, error)
- func IdentitiesCliFileFromSecret(buf []byte, realm, usersFile, groupsFile string) (string, error)
- func UserPassword(user, secretName, namespace string, k *kube.Kubernetes, ctx context.Context) (string, error)
- type Credentials
- type Identities
- type IdentitiesYaml
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminPassword ¶
func CreateIdentitiesFor ¶
CreateIdentitiesFor creates identities for a given username/password combination
func FindPassword ¶
FindPassword finds a user's password
func GenerateTruststore ¶
func GetAdminCredentials ¶
GetAdminCredentials get admin identities credentials in yaml format
func GetUserCredentials ¶
GetUserCredentials get identities credentials in yaml format
func UserPassword ¶
Types ¶
type Credentials ¶
Credentials represent individual username/password combinations
type Identities ¶
type Identities struct {
Credentials []Credentials
}
Identities represent identities that can interact with server
type IdentitiesYaml ¶
type IdentitiesYaml struct {
Credentials []Credentials `yaml:"credentials"`
}
Click to show internal directories.
Click to hide internal directories.