Authentication when verifying schemas? #3918
ivanpedersen
started this conversation in
General
Replies: 1 comment 1 reply
-
The only way to verify the schemas without providing auth credentials would be to configure the Registry server to allow "Anonymous Reads". This is a feature that can be enabled either by setting an ENV variable as documented here: Or if you are an Admin user you should be able to enable that feature via the Settings tab in the UI. When that feature is enabled, then REST API calls that only require read access will be allowed even when credentials are not provided. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, currently when I'm verifying schemas I'm using config like:
But I would ideally want to be able to not specify my clientSecret, since it currently requires me to copy the secret around, even to local machines when compiling my project. I would want to not have to use any auth when verifying the schemas. Is it possible?
The documentation says:
https://www.apicur.io/registry/docs/apicurio-registry/2.4.x/getting-started/assembly-managing-registry-artifacts-maven.html#testing-artifacts-using-maven-plugin_registry
But it's not clear to me what this means?
I've got services that don't specify any auth, and it's able to fetch schemas ok. In order to update any schemas though, I need auth ofc. Does this setup mean that I should be able to verify schemas as well without auth?
I think we're using Keycloak in front of Apicurio if that makes any difference?
Beta Was this translation helpful? Give feedback.
All reactions