Hi All!
Is the https://datahubproject.io/docs/api/graphql/token-management/|given graphql API the only API currently available to generate a datahub token via API call(programmatically)? I am deploying datahub on a k8s instance and by default, since metadata_service_authentication
is true
in https://github.com/acryldata/datahub-helm/blob/89c92c8ac73b4dc371d647216d60dff28cc7c9ae/charts/datahub/values.yaml#L699|helm-chart, the graphql API to create a PAT itself fails with a 401 as below.
Kindly let me know the answers to below queries
- Is there a way to create a token via API (not via Datahub UI) even if ``metadata_service_authentication` is set to true?
- If not, does that mean, I need to override
metadata_service_authentication
and set it to false, then create the token via the above graphql API, and if i want to use that token for other API requests to datahub, setmetadata_service_authentication
back to true and do helm upgrade and pass that token in further API calls ? Will that token be valid after helm upgrade?