Skip to content

Commit

Permalink
Merge pull request #3 from cjh1/quickstart-hosts
Browse files Browse the repository at this point in the history
Quickstart updates after following steps
  • Loading branch information
alexlovelltroy authored Jun 27, 2024
2 parents 2f7a5e8 + 994b8bd commit 92346fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/guides/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ get_ca_cert > cacert.pem
# Create a jwt access token for use with the apis.
ACCESS_TOKEN=$(gen_access_token)
# If you're curious about that token, you can safely copy and paste it into https://jwt.io to learn more.
# Add an entry to /etc/hosts for the cluster
echo '127.0.0.1 foobar.openchami.cluster' | sudo tee -a /etc/hosts
# Use curl to confirm that everything is working
curl --cacert cacert.pem -H "Authorization: Bearer $ACCESS_TOKEN" https://foobar.openchami.cluster/hsm/v2/State/Components
curl --cacert cacert.pem -H "Authorization: Bearer $ACCESS_TOKEN" https://foobar.openchami.cluster:8443/hsm/v2/State/Components
# This should respond with an empty set of Components: {"Components":[]}
```

Expand Down

0 comments on commit 92346fe

Please sign in to comment.