You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,24 +95,40 @@ To run the Lambda function outside of a container, we need to execute the `handl
95
95
96
96
**Please Note:** If uncommenting the above in `main.py`, make sure you re-comment the code _before_ pushing back to GitHub.
97
97
98
-
2. Export the required environment variables:
98
+
2. Sign in with AWS SSO, and export the correct profile for this service:
99
+
100
+
```bash
101
+
aws sso login
102
+
103
+
export AWS_PROFILE=github-copilot-usage-lambda
104
+
```
105
+
106
+
This allows you to assume the AWS IAM role for service, enabling the most secure development experience. This also means you will have limited permissions until you exit out of the profile.
107
+
108
+
**Note:** See the Developer Onboarding Guide on the "Using AWS SSO for Local Development" page on Confluence to set up service profile selection on your local machine.
0 commit comments