bootstrap

package
v0.0.0-...-56cb166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL