File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ brew tap lamhaison/formulae && brew install lamhaison/formulae/assume-role-macos
4444
4545```
4646
47- ### Setup your password for compress the plantext your temporary credentail .
47+ ### Setup your password for compress the plantext your temporary credentials .
4848```
4949# This password is used to encrypt your tmp credential.
5050echo "random_string" > ~/.password_assume_role_encrypted
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ aws_export_region() {
9696 export AWS_REGION=$AWS_REGION
9797}
9898
99- aws_assume_role_get_credentail () {
99+ aws_assume_role_get_credential () {
100100 tmp_credentials_file=" ${tmp_credentials} /${ASSUME_ROLE} "
101101 echo " Running assume-role ${ASSUME_ROLE} "
102102 # echo "Remove the credential ${tmp_credentials_file}"
@@ -184,10 +184,10 @@ aws_call_assume_role() {
184184 echo " Re-use the temporary credential of ${ASSUME_ROLE} at ${tmp_credentials_file_zip} "
185185 else
186186 echo " The credential is older than ${aws_assume_role_expired_time} or the credential is empty then we will run assume-role ${ASSUME_ROLE} again"
187- aws_assume_role_get_credentail
187+ aws_assume_role_get_credential
188188 fi
189189 else
190- aws_assume_role_get_credentail
190+ aws_assume_role_get_credential
191191 fi
192192 import_tmp_credential
193193
You can’t perform that action at this time.
0 commit comments