Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUserWithPassword ¶
func AddUserWithPassword(name user.Name, password auth.Password, access permission.AccessSpec) (user.UUID, internaldatabase.BootstrapOpt)
AddUserWithPassword is responsible for adding a new user in the system at bootstrap time with an associated authentication password. The user created by this function is owned by itself.
If the username passed to this function is invalid an error satisfying github.com/juju/juju/domain/access/errors.UsernameNotValid is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.