Skip to content

Commit 7a9d15f

Browse files
[Fix] - correct spelling of 'credential' in README and assume_role.sh
1 parent 1d65eb1 commit 7a9d15f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.
5050
echo "random_string" > ~/.password_assume_role_encrypted

services/assume_role.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)