Add `SSH` credentials.

This commit is contained in:
Kazuhiro MUSASHI 2019-10-27 14:40:08 +08:00
parent 0a9953e839
commit b9472d630d
4 changed files with 115 additions and 1 deletions

View File

@ -0,0 +1,38 @@
md5:b940e33c24842e81a2ac83c3a61a5605:salt:59-103-63-243-177-210-254-59:aes-256-cfb:+j+wg5NSjQMEEAZ3+HEseUoYHJ2KLGkk0ia6a6MOd78FikQFs7gWAQQys+vj
/aOx+7jYoZxZ+8DluR8fYSi8uwoIceE7uekfPOgXFkTfI868K8Cd95M1oyda
jxZe2Rc9GiXK+wmBbwciPv8xIQcpeQK262zU8eJiMxaIAojlZD7p/8vVTEwZ
8mM0+Y+NpQFASGsdMswpxeS5kdk986pvEOob0hjpxVxz0SCebjqdNxmZTivJ
mXGDCI1bshhJAVNLhtnS4mvNb4w5+9hyp0xElkYVVUSK/7PFow3OLjC7QwZw
HjHEKwAS5cPf0QibaPE6FvhYzTw19H90g2s2KkB/lrpNIOSZj0KpefDA41M9
xtQKO/GmBrYFNZC3EFDUhJpavPxiiGzYpXEN2lUjjf3NMpRs4MoYH7fGgRma
93y3z8blLwGtSQMKJimNYdvLnxwGMiRyDyRQ7TCmLIVMR4wdrJBOP4zJ6K7h
+WvgePTUH28zyEqOpdcmr//izvkr6vvtoA6DPDhToKR7lCIduxowx5qdj63D
2RgbajRfbKNMh0s0XiAwM70b15y7SLkIejx2zuUnLCa9MHIfsN6jjFeyO1Zw
bMHq4ukA/3aQzz6OgGY8rLfIhEvEV/PjGOnjd/BQcb33ACSo9c3Ase2H/lGn
T7Q0hK78fadEDH/cM0VtYuBHTr8THZzIgsz8dfhfBU01+vxfa7nFNPwvlthD
UrcMF9V0gNi4wQHPx9hjNXX/iJmHVVau2QcV+m3wdBpgoG6vyp8guYc7el8o
YjxiJ2HHDwOIhW8WOa3LgKk2GIPjfa5yocB2HylWDvgG1OUWZ0A9CboQ57AB
WfLJso/OYyD3MZcAJnM/Oou30vlzmq/aNuh+Xz3ycITlYhQOSfmQ4O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i/rn8wP/zjR5TeFHPbd
riYgVh7E0nVLCoiowVpvBX3x+kYbj2o6dC+ArQW+wj8pGP3N6FL4P8SUv9WC
eb/BmND02uTKinxIr32qZFprqtM0k8enTcU2tjsmOS2lnfgEnFaJlnMxds85
pUon4qtwJgQg21w3SgHFaeCYqgSFrQVl8JXsMafB5rjD7bovL8j6BGxgpLI4
0bgcr5W3yFlg4xMuXc7CDvO2+VR/a1YVFHFx2GCwwTfhJNRpmXNWTjlGG2EU
ZzZwWAOA/wLRvnE4wTnE9VIz8WgVw9eEth54k9SJ1vyc4e++SGrSvVe+qDF8
BcyRiMi1Y8ukFtVaFMO6s7eRRuQL9hloDwC/k7M/g9u7JExpj+kYcN3i0FQM
z/9XI6K67OVDsNFxctHjr42urYIhcWtqDmF+G6Mz1+f/9cRBKntsXYBwCAd1
JT/eo9FMemhDSFGwNGROrlzLAsyM0ylNyXagC1xlhPbw0We7gkpUI25dY3R8
IV9dvmch/PE4swRicmZmc6IatulcO6+Z9FXg+PHwT7p7CqTD+kLsc8HmaUzW
HHht5B+UDIam/GLc/CdBnQiiq4x8i4hAl8HrdPFda7mOQ/mQwt9Uzs2RsJDD
Q7KsSAazeARw+QG5HUuRvDjcsdh9V9phXrC9cD/Ef9QEZEajpWgyx92tWAJ5
BRM1EObviIL/v+OJbPo=

View File

@ -30,7 +30,7 @@ encrypted_remote_file '/home/webadm/.ssh/authorized_keys' do
end end
# Deploy secret keys # Deploy secret keys
%w( id_rsa.github id_rsa.bitbucket id_rsa.chef ).each do |conf| %w( id_rsa.github id_rsa.chef ).each do |conf|
encrypted_remote_file "/home/webadm/.ssh/#{conf}" do encrypted_remote_file "/home/webadm/.ssh/#{conf}" do
owner 'webadm' owner 'webadm'
group 'webadm' group 'webadm'