Guest User

Untitled

a guest
Jan 11th, 2024
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. $ EDITOR='cat' rails credentials:edit
  2. Editing config/credentials.yml.enc...
  3. # aws:
  4. # access_key_id: 123
  5. # secret_access_key: 345
  6.  
  7. # Used as the base secret for all MessageVerifiers in Rails, including the one protecting cookies.
  8. secret_key_base: [...]
  9. File encrypted and saved.
  10.  
  11. $ EDITOR='echo "foo: bar" >>' rails credentials:edit
  12. Editing config/credentials.yml.enc...
  13. foo: bar >> /tmp/20240111-42-h8cs8b-credentials.yml
  14. File encrypted and saved.
  15.  
  16. $ EDITOR='cat' rails credentials:edit
  17. Editing config/credentials.yml.enc...
  18. # aws:
  19. # access_key_id: 123
  20. # secret_access_key: 345
  21.  
  22. # Used as the base secret for all MessageVerifiers in Rails, including the one protecting cookies.
  23. secret_key_base: [...]
  24. File encrypted and saved.
Advertisement
Add Comment
Please, Sign In to add comment