canonical / charm-local-users

A subordinate charm for creating and managing local user accounts and groups on principal units.
Apache License 2.0
0 stars 4 forks source link

extend the local-users charm to pull keys from launchpad #3

Closed jneo8 closed 11 months ago

jneo8 commented 11 months ago

the local users charm supports specifying pubkeys directly in the charm config:

local-users:
  group: mygroup
  users: |
    alice;Alice;ssh-rsa ABC alice@desktop
    bob;Bob;ssh-rsa XYZ bob@laptop

a simple extension would be to support pulling keys from LP:

local-users:
  group: mygroup
  users: |
    alice;Alice;lp:alice
    bob;Bob;lp:bobcanonical

Imported from Launchpad using lp2gh.