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
These scripts make it easy to connect to running Habitat instances. To use them, you'll need to set up a few things first:
6
+
7
+
* Make sure you've downloaded the `habitat-srv-admin` key and placed it at at `~/.ssh/`.
8
+
* If you haven't already, create an IAM user for yourself in Habitat AWS. You'll need membership in the `admins` group and programmatic access. Note your generated access key ID and secret.
9
+
* Install [the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-install-macos.html) and place it on your PATH.
10
+
* Configure the AWS CLI using your Habitat AWS IAM credentials.
Since we typically use `okta_aws` and you may have multiple profiles, you will likely need to specify the following environment variable: `AWS_PROFILE`.
18
+
Otherwise, you may receive this error: `An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid.`
19
+
20
+
Test AWS credentials:
21
+
22
+
```bash
23
+
export AWS_PROFILE=habitat
24
+
aws sts get-caller-identity
25
+
```
26
+
27
+
## Generating and Updating Configuration
28
+
29
+
Once you're set up with the prerequisites listed above, you should be able to generate SSH and tmuxinator configurations using the following commands (executed from within this directory):
0 commit comments