Skip to content

Instantly share code, notes, and snippets.

@ziazek
Created June 5, 2017 04:30
Show Gist options
  • Select an option

  • Save ziazek/8b7c8d88f21c0daabb11f3b2a4a55164 to your computer and use it in GitHub Desktop.

Select an option

Save ziazek/8b7c8d88f21c0daabb11f3b2a4a55164 to your computer and use it in GitHub Desktop.
# database PostgreSQL do |db|
# ...
# end
encrypt_with GPG do |encryption|
encryption.keys = {}
encryption.keys['[email protected]'] = <<-KEY
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFk025kBEADnMxlnL...
[ Your GPG Public Key Here ]
-----END PGP PUBLIC KEY BLOCK-----
KEY
encryption.recipients = '[email protected]'
end
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment