How can I go about using Hasura CLI to export metadata via Windows Active Directory Login?

267 views Asked by At

Here is information about our technical environment:

  • Hasura GraphQL Current server version: v2.6.2-pro.1
  • Hasura CLI version 2.15.0
  • We log onto the Hasura GraphQL Web UI Console using our Windows Active Directory Login (essentially Single-SignOn SSO) (therefore, we do not have an admin secret)

However, the official Hasura GraphQL Technical Tutorial Guide only gives examples showing the admin secret being supplied in the Hasura CLI command line console arguments (https://hasura.io/docs/latest/migrations-metadata-seeds/migrations-metadata-setup/)

hasura init demo-project --endpoint https://docs-demo.hasura.app --admin-secret mySecret

How can I go about using Hasura CLI to export metadata via Windows Active Directory Login? (I would be interested in Hasura CLI command line examples).

1

There are 1 answers

5
Arjun Yelamanchili On

as of now you’ll have to set an admin secret via environment variables and use that via the CLI. Please file a feature request via Github if you need this so we can get it tracked and prioritized.