Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Implement local macaroon logins #4823
Conversation
axw
added some commits
Mar 16, 2016
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
added a commit
that referenced
this pull request
Mar 22, 2016
jujubot
merged commit 2b86478
into
juju:admin-controller-model
Mar 22, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedMar 21, 2016
Reintroduce the "login" command, with a new approach
using macaroons. This is in addition to the existing
external-IdM macaroon support.
We now support macaroon logins for local users: if a
local user tag is specified in login, a macaroon may
be provided instead of a password.
We can now record a macaroon in accounts.yaml instead
of a password. When you run "juju login", you will be
prompted for your password, which will be used for the
login; a macaroon is requested from the server, which
is then written to disk and any existing password
wiped from accounts.yaml.
The change-user-password command is similarly updated
to manage macaroons.
TODO:
if the macaroon is expired
controller machines
(Review request: http://reviews.vapour.ws/r/4265/)