update get_authorized_keys to look at ddb table
This commit is contained in:
parent
0db536fb87
commit
811730b737
|
@ -6,10 +6,16 @@
|
||||||
# Accomodate for local install
|
# Accomodate for local install
|
||||||
PATH=$HOME/.local/bin:$PATH
|
PATH=$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
aws codecommit get-file \
|
# This is much slower than hitting DDB, so while it will work, we'll use
|
||||||
--repository-name authorized_keys \
|
# our codecommit -> DDB lambda function and pull direct from DDB. Also helps
|
||||||
--file-path authorized_keys \
|
# with codecommit user count...
|
||||||
--query 'fileContent' \
|
|
||||||
--cli-read-timeout 1 \
|
# aws codecommit get-file \
|
||||||
--cli-connect-timeout 1 \
|
# --repository-name authorized_keys \
|
||||||
--output text |base64 -d
|
# --file-path authorized_keys \
|
||||||
|
# --query 'fileContent' \
|
||||||
|
# --cli-read-timeout 1 \
|
||||||
|
# --cli-connect-timeout 1 \
|
||||||
|
# --output text |base64 -d
|
||||||
|
|
||||||
|
aws dynamodb scan --table-name key --query 'Items[0].key.S' --output text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user