Skip to content

Commit

Permalink
Get rid of the vulnerable aws-sso-creds-helper
Browse files Browse the repository at this point in the history
Replace the vulnerable `aws-sso-creds-helper` plugin with
`serverless-better-credentials` in order to support AWS Single
Sign-On (AWS SSO).
  • Loading branch information
simenheg committed Oct 3, 2023
1 parent 3e055ee commit fca02c7
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 1,233 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ undeploy-prod: login-prod init
.PHONY: login-dev
login-dev: init
aws sts get-caller-identity --profile $(.DEV_PROFILE) || aws sso login --profile=$(.DEV_PROFILE)
./node_modules/.bin/ssocreds -p $(.DEV_PROFILE) # https://github.com/serverless/serverless/issues/7567

.PHONY: login-prod
login-prod: init
aws sts get-caller-identity --profile $(.PROD_PROFILE) || aws sso login --profile=$(.PROD_PROFILE)
./node_modules/.bin/ssocreds -p $(.PROD_PROFILE) # https://github.com/serverless/serverless/issues/7567

.PHONY: is-git-clean
is-git-clean:
Expand Down
Loading

0 comments on commit fca02c7

Please sign in to comment.