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
{{ message }}
Repository navigation
Any way to create or list database connections from the CLI? #374
Hey @mstallmo, @stephan-erickson, appreciate you folks raising visibility around this. We don't currently plan on adding this feature to the cli right now, but contributions are more than welcome. We'll review them together and collaborate on getting them to the finish line:) so please feel free to give it a try.
We recently added a new command 🧰 auth0 api <method> <url-path> [flags] that is able to make authenticated requests against the management API (https://auth0.com/docs/api/management/v2).
Although it doesn't offer first class support for managing database connections, you could use it as an alternative to manage database connections through the cli until we have a more dedicated command for them.
For example to create a database connection: auth0 api post connections --data "{\"strategy\":\"auth0\", etc...}"
Feedback is much appreciate for this new command 🙏🏻 Let us know if you encounter any issues with it.
We'll keep this issue open however until we are able to add a dedicated first class command to manage db connections.
Activity
Widcket commentedon Dec 2, 2021
Hi @stephan-erickson, thanks for raising this. The Auth0 CLI does not currently support database connection CRUD.
mstallmo commentedon Jul 5, 2022
Just wanted to come and give this issue a bump for visibility. Adding this feature to the CLI would be very helpful!
Would a PR from the community implementing this feature be accepted?
Widcket commentedon Jul 5, 2022
cc @sergiughf ^
sergiught commentedon Jul 7, 2022
Hey @mstallmo, @stephan-erickson, appreciate you folks raising visibility around this. We don't currently plan on adding this feature to the cli right now, but contributions are more than welcome. We'll review them together and collaborate on getting them to the finish line:) so please feel free to give it a try.
sergiught commentedon Dec 1, 2022
Hey folks 👋🏻 ,
We recently added a new command 🧰
auth0 api <method> <url-path> [flags]that is able to make authenticated requests against the management API (https://auth0.com/docs/api/management/v2).📖 Docs for this command: https://auth0.github.io/auth0-cli/auth0_api.html
Although it doesn't offer first class support for managing database connections, you could use it as an alternative to manage database connections through the cli until we have a more dedicated command for them.
For example to create a database connection:
auth0 api post connections --data "{\"strategy\":\"auth0\", etc...}"Feedback is much appreciate for this new command 🙏🏻 Let us know if you encounter any issues with it.
We'll keep this issue open however until we are able to add a dedicated first class command to manage db connections.
Thanks for your patience! ❤️