vault: Index | Files

package userpass

import ""


Package Files

backend.go cli.go path_login.go path_user_password.go path_user_policies.go path_users.go

func Backend Uses

func Backend() *backend

func Factory Uses

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

type CLIHandler Uses

type CLIHandler struct {
    DefaultMount string

func (*CLIHandler) Auth Uses

func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (*api.Secret, error)

func (*CLIHandler) Help Uses

func (h *CLIHandler) Help() string

type UserEntry Uses

type UserEntry struct {

    // Password is deprecated in Vault 0.2 in favor of
    // PasswordHash, but is retained for backwards compatibility.
    Password string

    // PasswordHash is a bcrypt hash of the password. This is
    // used instead of the actual password in Vault 0.2+.
    PasswordHash []byte

    Policies []string

    // Duration after which the user will be revoked unless renewed
    TTL time.Duration

    // Maximum duration for which user can be valid
    MaxTTL time.Duration

    BoundCIDRs []*sockaddr.SockAddrMarshaler

Package userpass imports 17 packages (graph) and is imported by 42 packages. Updated 2020-06-28. Refresh now. Tools for package owners.