Is there any documentation on the format/supported...
# ory-network
d
Is there any documentation on the format/supported values for the Ory CLI config file? I'm hoping to authenticate with the CLI by passing in an API token (to set up tunneling programmatically without developers having to manually run
ory auth
and signing in)
m
Unfortunately I don’t think there’s a way 👎 Wound up using expect and a shell script. Ex: `login.sh`:
Copy code
#!/bin/bash
/usr/bin/expect <<'EOF'
set ORYUSERNAME $env(ORY_USERNAME)
set ORYPASSWORD $env(ORY_PASSWORD)
spawn ory auth
expect "Do you want to sign in to an existing Ory Network account?"
send -- "y\r"
expect "Email:"
send -- "$ORYUSERNAME\r"
expect "Password:"
send -- "$ORYPASSWORD\r"
expect eof
EOF
gratitude thank you 1
🧐 1
d
I see, would be nice to have. Thank you for the unblock!!
r
This is on our list of things to improve 👍
🙏 1