camptocamp / puppet-accounts

11 stars 40 forks source link

Is it possible to configure multiple public keys per user? #19

Open johnzimm opened 9 years ago

johnzimm commented 9 years ago

If so (or if not - either way) it would be good for the README to reflect that info. Just starting to look at using this module for that use case now.

Thanks!

lookcrabs commented 9 years ago

I am new to puppet and chef but I have indeed created multiple keys per user via this module. I have a hash listing of my public keys like so::

user1: type: ssh-rsa public: AAAA... user2: type: ssh-rsa public: AAAAB3...

then in my user hash I have the following::

user_account: authorized_keys:

I am not sure if this is the correct way as I am new to puppet and foreman but this is what worked for me.

fritchie commented 8 years ago

are multiple keys per user possible?

jschaeff commented 7 years ago

See my response in issue #54 to achieve this.