This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST --data-binary @payload.yaml -H "Content-type: text/x-yaml" http://localhost:4200/some-url/1024 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'aws-sdk' | |
# reference: https://www.promptworks.com/blog/handling-environment-secrets-in-docker-on-the-aws-container-service | |
# usage: `ruby get_env_from_s3.rb` | |
########## CHANGE THESE VARIABLES ########## | |
file_to_decrypt = '.env' | |
key_alias = 'demo-key' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'aws-sdk' | |
# reference: https://www.promptworks.com/blog/handling-environment-secrets-in-docker-on-the-aws-container-service | |
########## CHANGE THESE VARIABLES ########## | |
file_to_encrypt = '.env' | |
file_path = "../../../fav-color-private-stuff/#{file_to_encrypt}" | |
key_alias = 'demo-key' |