Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
encrypted secrets
@waterlow
•
• waterlow
•
• Rails 5.1.0
• encrypted secrets
•
Rails 5.1.0
Rails 5.1.0
• npm, webpacker, drop jQuery
• Encrypted secrets
• System tests
• Parameterized mailers
• Direct and resolved...
Rails 5.1.0
• vpc
• beta1→rc1
•
• precompile npm
Rails 5.1.0
• js
• secrets
encrypted secrets
encrypted secrets
•
• config/secrets.yml
• config/secrets.yml.enc
• config/secrets.yml.key .gitigunore
encrypted secrets
• bin/rails secrets:setup
• gitignore
• bin/rails secrets:edit
•
encrypted secrets
• key
• RAILS_MASTER_KEY
• secrets.yml.key
encrypted secrets
• staging
• production
encrypted secrets
•
• config/secret.yml gitignore
• secret.yml→secret.#{Rails.env}.yml
encrypted secrets
• KMS
• KMS
• KMS yaml_vault
• Rails
•
0323社内LT大会
Upcoming SlideShare
Loading in …5
×

0323社内LT大会

311 views

Published on

月一LT大会でRails5.1のencrypted secretsについて話しました。

Published in: Technology
  • Be the first to comment

  • Be the first to like this

0323社内LT大会

  1. 1. encrypted secrets @waterlow
  2. 2. • • waterlow •
  3. 3. • Rails 5.1.0 • encrypted secrets •
  4. 4. Rails 5.1.0
  5. 5. Rails 5.1.0 • npm, webpacker, drop jQuery • Encrypted secrets • System tests • Parameterized mailers • Direct and resolved routes
  6. 6. Rails 5.1.0 • vpc • beta1→rc1 • • precompile npm
  7. 7. Rails 5.1.0 • js • secrets
  8. 8. encrypted secrets
  9. 9. encrypted secrets • • config/secrets.yml • config/secrets.yml.enc • config/secrets.yml.key .gitigunore
  10. 10. encrypted secrets • bin/rails secrets:setup • gitignore • bin/rails secrets:edit •
  11. 11. encrypted secrets • key • RAILS_MASTER_KEY • secrets.yml.key
  12. 12. encrypted secrets • staging • production
  13. 13. encrypted secrets • • config/secret.yml gitignore • secret.yml→secret.#{Rails.env}.yml
  14. 14. encrypted secrets • KMS
  15. 15. • KMS • KMS yaml_vault • Rails •

×