Merge ~maxiberta/snapstore-client:env-auth into snapstore-client:master
Proposed by
Maximiliano Bertacchini
Status: | Merged |
---|---|
Approved by: | Maximiliano Bertacchini |
Approved revision: | 7266727019f5d033932617ab71d4d599829f748e |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~maxiberta/snapstore-client:env-auth |
Merge into: | snapstore-client:master |
Prerequisite: | ~maxiberta/snapstore-client:craft-store-2.1.1 |
Diff against target: |
343 lines (+162/-28) 8 files modified
store_admin/cli/common.py (+31/-0) store_admin/cli/runner.py (+1/-0) store_admin/cli/snaps.py (+2/-0) store_admin/cli/stores.py (+2/-0) store_admin/logic/accounts.py (+19/-1) store_admin/logic/http_client.py (+28/-20) store_admin/logic/tests/test_accounts.py (+24/-0) store_admin/logic/tests/test_http_client.py (+55/-7) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Przemysław Suliga | Approve | ||
Review via email: mp+425096@code.launchpad.net |
Commit message
Add support for exporting and using auth token for non-interactive use cases
If found, the STORE_ADMIN_TOKEN env is used as authentication token, with the same format as the "admin-
To post a comment you must log in.
Thanks! This works but has some issues I think. Left some comments.