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
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,36 @@ Then install all the dependency packages with:
37
37
make configure
38
38
```
39
39
40
+
### Set up AWS CLI access
41
+
42
+
There are several ways to set up your AWS CLI access. The recommended way is to use [granted](https://docs.commonfate.io/granted/getting-started). Follow the instructions on their website to install and configure `granted`.
43
+
44
+
One of the gotchas with using `granted` is that you need to ensure that you source the environment variables into your shell session. You can do this by running:
45
+
46
+
```
47
+
source assume <profile>
48
+
```
49
+
50
+
Where `<profile>` is one of the profiles which should be in your `~/.aws/config`. You can customize the profile names to your liking.
51
+
52
+
From here on, you can use the AWS CLI as normal and run commands that need AWS access on that terminal session.
53
+
54
+
As a short guideline about profiles to assume for a typical workflow:
55
+
56
+
- Assume mgmt account for stack specific terraform deployment as indicated in `terraform/infrastructure/README.md`.
57
+
- Assume the specific environment for running feature tests against that environment.
58
+
59
+
### Set up NRLF certificates
60
+
61
+
In order to execute make commands that need AWS access, you will need to pull the NRLF certificates.
62
+
In order to do this, make sure you have AWS CLI installed and configured, then run:
63
+
64
+
```
65
+
make ENV=env truststore-pull-all
66
+
```
67
+
68
+
Where `env` is one of `dev`, `qa` , `int`, `ref` or `prod`.
0 commit comments