Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLIHandler ¶
type CLIHandler struct{}
func (*CLIHandler) Help ¶
func (h *CLIHandler) Help() string
type UserEntry ¶
type UserEntry struct {
// Password is deprecated in Vault 0.2 in favor of
// PasswordHash, but is retained for backwards compatibilty.
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
}
Click to show internal directories.
Click to hide internal directories.