Documentation ¶
Index ¶
Constants ¶
View Source
const ( SecretPassword secretType = "password" SecretToken secretType = "token" )
View Source
const ( PasswordLength = 16 NameDefaultSet = `0123456789abcdefghijklmnopqrstuvwxyz` PwdDefaultSet = `0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+-={}[]:"'<>,./|\'?` )
View Source
const (
DefaultUsernameTemplate = "vault{{random 8 | lowercase}}"
)
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
func RandomTemporaryUsername ¶
Types ¶
type OsCloud ¶
type OsCloud struct { Name string `json:"name"` AuthURL string `json:"auth_url"` UserDomainName string `json:"user_domain_name"` Username string `json:"username"` Password string `json:"password"` UsernameTemplate string `json:"username_template"` PasswordPolicy string `json:"password_policy"` RootPasswordTTL time.Duration `json:"root_password_ttl"` RootPasswordExpirationDate time.Time `json:"root_password_expiration_date"` }
type PasswordGenerator ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.