hi everyone ,how to config authorization to metada...
# getting-started
h
hi everyone ,how to config authorization to metadata restful api and graphiql API ,make sure that different user can access different API
b
Yeah! Simply set the following env variable for
datahub-frontend
and
datahub-gms
containers:
Copy code
METADATA_SERVICE_AUTH_ENABLED=true
This will make it so that authentication is enabled. Read more about configuring it here.
h
Yes, I understand this is just Authentication but not authorization
b
Correct - authorization is always enabled at the GraphQL layer
Currently there is no fine-grained authorization at the ingestion layer (GMS)
h
how to enable authorization at the GraphQL layer
b
METADATA_SERVICE_AUTH_ENABLED=true
It's on the docs website also