Adam InTae Gerard 0bfe811063 BAEL-456: Introduction to Spring Cloud CLI - Bash Scripts (#2745)
* BAEL-456: Introduction to Spring Cloud CLI - Bash Scripts

* Readme added

* Removed batch script artifacts
2017-10-16 04:05:55 +02:00

8 lines
337 B
Bash

#!/usr/bin/env bash
echo Encrypting my_value as key my_key
spring encrypt my_value --key my_key
echo
echo You should see something like: c93cb36ce1d09d7d62dffd156ef742faaa56f97f135ebd05e90355f80290ce6b
echo
echo You can use: \"{cipher}c93cb36ce1d09d7d62dffd156ef742faaa56f97f135ebd05e90355f80290ce6b\" in your configuration files
echo