Created
April 21, 2021 15:44
-
-
Save vladholubiev/08551d4b6555d52304f6b4e9bfcd7634 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage get_api_key some-name | |
function get_api_key { | |
value=$(aws apigateway get-api-keys --query "items[?name=='${1}'].value" --include-values --output text); | |
echo "${value}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment