X
xata CLI
Details
- Command
-
xata - Docs
- https://xata.io/docs/cli
Authentication
Xata CLI login profile oauth2 discovered
$ xata auth login Acquired by the CLI — running xata auth login opens the auth flow and stores the credential.
env XATA_API_KEY Create a Xata account in console.xata.io, then create a user or organization API key using the steps in API Keys or the CLI commands in keys such as xata keys user create or xata keys organization create. The API reference also shows the control-plane API accepts Authorization: Bearer <token>, and the CLI can print a current access token with xata auth access-token after xata auth login.