Local Users
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 216 | 08 Sep 2025 | |
latest/stable | 215 | 08 Sep 2025 | |
latest/stable | 214 | 08 Sep 2025 | |
latest/stable | 213 | 08 Sep 2025 | |
latest/stable | 212 | 08 Sep 2025 | |
latest/stable | 211 | 08 Sep 2025 | |
latest/stable | 210 | 08 Sep 2025 | |
latest/stable | 209 | 08 Sep 2025 | |
latest/stable | 208 | 08 Sep 2025 | |
latest/stable | 207 | 08 Sep 2025 | |
latest/stable | 206 | 08 Sep 2025 | |
latest/stable | 205 | 08 Sep 2025 | |
latest/stable | 18 | 28 Apr 2023 | |
latest/candidate | 216 | 26 Aug 2025 | |
latest/candidate | 215 | 26 Aug 2025 | |
latest/candidate | 214 | 26 Aug 2025 | |
latest/candidate | 213 | 26 Aug 2025 | |
latest/candidate | 212 | 26 Aug 2025 | |
latest/candidate | 211 | 26 Aug 2025 | |
latest/candidate | 210 | 26 Aug 2025 | |
latest/candidate | 209 | 26 Aug 2025 | |
latest/candidate | 208 | 26 Aug 2025 | |
latest/candidate | 207 | 26 Aug 2025 | |
latest/candidate | 206 | 26 Aug 2025 | |
latest/candidate | 205 | 26 Aug 2025 | |
latest/candidate | 6 | 27 Mar 2025 | |
latest/candidate | 19 | 27 Mar 2025 | |
latest/edge | 228 | 08 Sep 2025 | |
latest/edge | 227 | 08 Sep 2025 | |
latest/edge | 226 | 08 Sep 2025 | |
latest/edge | 225 | 08 Sep 2025 | |
latest/edge | 224 | 08 Sep 2025 | |
latest/edge | 223 | 08 Sep 2025 | |
latest/edge | 222 | 08 Sep 2025 | |
latest/edge | 221 | 08 Sep 2025 | |
latest/edge | 220 | 08 Sep 2025 | |
latest/edge | 219 | 08 Sep 2025 | |
latest/edge | 218 | 08 Sep 2025 | |
latest/edge | 217 | 08 Sep 2025 | |
latest/edge | 19 | 03 May 2023 | |
latest/edge | 6 | 14 Mar 2022 |
juju deploy local-users
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
Cryptography
SSH keys
This charm allows to setup unprivileged access to a Juju unit via the public SSH keys for each local user, which can be specified in two ways in the users
charm config option:
- Plaintext public SSH key
- A Launchpad username prepended with
lp:
The charm uses the ssh-import-id CLI for the second option to retrieve the keys. The CLI uses SSL/TLS to connect to Launchpad, validating the connection’s certificate and matching the hostname through the Requests library. Retrieved keys are in the same format as an ~/.ssh/authorized_keys
file.
After the keys are parsed/retrieved, the charm writes the SSH public keys to the file path specified by the ssh_authorized_keys
charm config option. The file is created with different permissions and ownerships depending on whether the file is located under the user’s home directory or not:
- If the file is created under the new user’s home directory, the parent directory is set to
0o700
, and ownership is given exclusively to the created user. The file’s permissions are set to0o600
with the same ownership - If the file should be placed anywhere else, the
0o644
permission mode is given