Skip to content

Commit 018a6ad

Browse files
author
Jon Wayne Parrott
committed
Merge pull request #187 from GoogleCloudPlatform/jonparrott-patch-1
Turning off character echoing in encrypt-secrets.sh
2 parents 0c37246 + ccdf947 commit 018a6ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/encrypt-secrets.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
echo "Enter password for encryption: "
18-
read password
17+
read -s -p "Enter password for encryption: " password
18+
echo
1919

2020
tar cvf secrets.tar testing/resources/{service-account.json,test-env.sh}
2121
openssl aes-256-cbc -k "$password" -in secrets.tar -out secrets.tar.enc

0 commit comments

Comments
 (0)