Verify your Confluent Cloud Schema Registry credentials work from your host. In the output
below, substitute your values for <SR API KEY>
, <SR API SECRET>
, and
<SR ENDPOINT>
.
# View the list of registered subjects
curl -u <SR API KEY>:<SR API SECRET> https://<SR ENDPOINT>/subjects
# Same as above, as a single bash command to parse the values out of $HOME/.confluent/java.config
curl -u $(grep "^schema.registry.basic.auth.user.info" $HOME/.confluent/java.config | cut -d'=' -f2) $(grep "^schema.registry.url" $HOME/.confluent/java.config | cut -d'=' -f2)/subjects