A possible workaround for this situation is to include the password in the accounts definition file. E.g.:
.local/share/juju/accounts.yaml controllers: controller1: user: user1 password: MySecurePassw0rd last-known-access: login
Which may not be optimal for some use cases, but for others it could be even better, as there will be no password prompted when the sessions expire.
A possible workaround for this situation is to include the password in the accounts definition file. E.g.:
.local/ share/juju/ accounts. yaml known-access: login
controllers:
controller1:
user: user1
password: MySecurePassw0rd
last-
Which may not be optimal for some use cases, but for others it could be even better, as there will be no password prompted when the sessions expire.