authorized_keys/get_authorized_keys

13 lines
273 B
Plaintext
Raw Normal View History

#!/bin/sh
# Accomodate for local install
PATH=$HOME/.local/bin:$PATH
aws codecommit get-file \
--repository-name authorized_keys \
--file-path authorized_keys \
--query 'fileContent' \
--cli-read-timeout 1 \
--cli-connect-timeout 1 \
--output text |base64 -d