github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/jujuclient/registration.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package jujuclient 5 6 // RegistrationInfo contains the user/controller registration information 7 // printed by "juju add-user", and consumed by "juju register". 8 type RegistrationInfo struct { 9 // User is the user name to log in as. 10 User string 11 12 // Addrs contains the "host:port" addresses of the Juju 13 // controller. 14 Addrs []string 15 16 // SecretKey contains the secret key to use when encrypting 17 // and decrypting registration requests and responses. 18 SecretKey []byte 19 20 // ControllerName contains the name that the controller has for the 21 // caller of "juju add-user" that will be used to suggest a name for 22 // the caller of "juju register". 23 ControllerName string 24 25 // ProxyConfig is a config around a real proxier interface that should 26 // be used to connect to the controller. 27 ProxyConfig string 28 }