Sha256: 9d9eec1795ac7f3e22881b3805a58cf28ff2a898477df77220fdb9be78a7eb8d
Contents?: true
Size: 555 Bytes
Versions: 3
Compression:
Stored size: 555 Bytes
Contents
namespace :secrets do desc "Decrypt your secrets rake secrets:decrypt" task :decrypt do puts "Decrypting your files, sir" # sh("aws kms decrypt --ciphertext-blob fileb://#{p}.enc --output text --query Plaintext | base64 --decode > #{p}") end desc "Encrypt your secrets rake secrets:encrypt" task :encrypt do puts "Encrypting your files, sir" # sh("aws kms encrypt --key-id arn:aws:kms:us-west-2:155751353262:alias/properties --plaintext fileb://#{p} --output text --query CiphertextBlob | base64 --decode > #{p}.enc") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
super_top_secret-0.1.3 | lib/tasks/super_top_secret_tasks.rake |
super_top_secret-0.1.2 | lib/tasks/super_top_secret_tasks.rake |
super_top_secret-0.1.1 | lib/tasks/super_top_secret_tasks.rake |