Skip to content

Commit

Permalink
docs: fix quickstart up.sh (#1158)
Browse files Browse the repository at this point in the history
Added `--insecure-disable-transport-security` flag to all client commands.
  • Loading branch information
gousse committed Dec 2, 2022
1 parent a06eda7 commit 30a74c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/cat-videos-example/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ trap teardown EXIT

export KETO_WRITE_REMOTE="127.0.0.1:4467"

keto relation-tuple create contrib/cat-videos-example/relation-tuples
keto relation-tuple create contrib/cat-videos-example/relation-tuples --insecure-disable-transport-security

echo "
Created all relationships. Now you can use the Keto CLI client to play around:
export KETO_READ_REMOTE=\"127.0.0.1:4466\"
keto relation-tuple get videos
keto check \"*\" view videos /cats/1.mp4
keto expand view videos /cats/2.mp4
keto relation-tuple get --insecure-disable-transport-security
keto check \"*\" view videos /cats/1.mp4 --insecure-disable-transport-security
keto expand view videos /cats/2.mp4 --insecure-disable-transport-security
"

# sleep 10h; has to be defined like this because OSX does not know units https://www.unix.com/man-page/osx/1/sleep/
Expand Down

0 comments on commit 30a74c6

Please sign in to comment.