Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting docs, which give wrong principal #275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,14 @@ computer, so please be sure it's not important!

#### Get our Principal Name

First, let's figure out who the heck we are. We'll ask AWS who they think
we are, to figure out who Hallow will think we are. Keep a note of this ARN,
this will be used to configure the SSH daemon.
To find the principal of the certificate, inspect the generated certificate with ssh-keygen. This can be done with the following command-line:

```
$ aws sts get-caller-identity --query="Arn"
"arn:aws:iam::.......:root"
$ ssh-add -L | ssh-keygen -L -f - | grep -A1 Principals | tail -1 | sed 's/^ *//'
```

This will be pasted in the user's principal file later.

#### Remind ourselves of the SSH CA Public Key

We wrote this file out in the step above when we ran `get-pub-key`. Let's get
Expand Down