├── .gitignore ├── .travis.yml ├── LICENSE ├── api ├── gosecret.go └── gosecret_test.go ├── main.go ├── readme.md ├── template_functions.go ├── template_functions_test.go ├── test_data ├── config.json ├── config_enc.json ├── config_plaintext.json ├── config_special_characters.json ├── config_special_characters_plaintext.json ├── nested │ └── config.xml ├── password └── template │ ├── config.json │ ├── config_hybrid.json │ ├── encrypted.json │ ├── encrypted_hybrid.json │ ├── output.json │ └── output_hybrid.json └── test_keys └── myteamkey-2014-09-19 /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | # Exclude binary 4 | gosecret 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/LICENSE -------------------------------------------------------------------------------- /api/gosecret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/api/gosecret.go -------------------------------------------------------------------------------- /api/gosecret_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/api/gosecret_test.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/main.go -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/readme.md -------------------------------------------------------------------------------- /template_functions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/template_functions.go -------------------------------------------------------------------------------- /template_functions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/template_functions_test.go -------------------------------------------------------------------------------- /test_data/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/config.json -------------------------------------------------------------------------------- /test_data/config_enc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/config_enc.json -------------------------------------------------------------------------------- /test_data/config_plaintext.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/config_plaintext.json -------------------------------------------------------------------------------- /test_data/config_special_characters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/config_special_characters.json -------------------------------------------------------------------------------- /test_data/config_special_characters_plaintext.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/config_special_characters_plaintext.json -------------------------------------------------------------------------------- /test_data/nested/config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/nested/config.xml -------------------------------------------------------------------------------- /test_data/password: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/password -------------------------------------------------------------------------------- /test_data/template/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/template/config.json -------------------------------------------------------------------------------- /test_data/template/config_hybrid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/template/config_hybrid.json -------------------------------------------------------------------------------- /test_data/template/encrypted.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/template/encrypted.json -------------------------------------------------------------------------------- /test_data/template/encrypted_hybrid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/template/encrypted_hybrid.json -------------------------------------------------------------------------------- /test_data/template/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "dbpassword" : "kadjf454nkklz" 3 | } 4 | -------------------------------------------------------------------------------- /test_data/template/output_hybrid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cimpress-MCP/gosecret/HEAD/test_data/template/output_hybrid.json -------------------------------------------------------------------------------- /test_keys/myteamkey-2014-09-19: -------------------------------------------------------------------------------- 1 | D0yW87qvwNX0Bs7ny1HfvMeLqV0uXPEW3pyDhfynRaA= --------------------------------------------------------------------------------