openssh.auth_map

This commit is contained in:
Alexander Weidinger
2017-03-04 14:21:53 +01:00
parent 66c954ed66
commit 674216d0ad
3 changed files with 53 additions and 0 deletions
+13
View File
@@ -166,6 +166,19 @@ openssh:
enc: ssh-rsa
comment: obsolete key - removed
source: salt://ssh_keys/joe.no-valid.pub
# Maps users to source files
# Designed to play nice with ext_pillar
# salt.states.ssh_auth: If source is set, comment and enc will be ignored
auth_map:
personal_keys: # store name
source: salt://ssh_keys
users:
joe:
joe.desktop: {}
joe.netbook:
options: [] # see salt.states.ssh_auth.present
joe.no-valid:
present: False
generate_dsa_keys: False
absent_dsa_keys: False