The Remote Registry is a gRPC client for the registry that implements the RemoteRegistry class using the existing BaseRegistry interface.
User needs to create a client side feature_store.yaml file, set the registry_type to remote and provide the server connection configuration.
The path parameter is a URL with a port (default is 6570) used by the client to connect with the Remote Registry server.
{% code title="feature_store.yaml" %}
registry:
registry_type: remote
path: localhost:6570{% endcode %}
The optional cert parameter can be configured as well, it should point to the public certificate path when the Registry Server starts in SSL mode. This may be needed if the Registry Server is started with a self-signed certificate, typically this file ends with *.crt, *.cer, or *.pem.
For mutual TLS (mTLS), you can also configure:
client_cert— Path to the client certificate presented to the server. Must be paired withclient_key. Typically ends with*.crtor*.pem.client_key— Path to the client private key. Must be paired withclient_cert. Typically ends with*.keyor*.pem.
When connecting through a tunnel or proxy where the connection address differs from the server hostname, set:
authority— Overrides the gRPC:authorityheader so the server certificate is validated against the correct hostname.
{% code title="feature_store.yaml" %}
registry:
registry_type: remote
path: localhost:8443
cert: /path/to/ca.crt
client_cert: /path/to/tls.crt
client_key: /path/to/tls.key
authority: feature-registry.example.com{% endcode %}
More info about TLS configuration can be found in feast-client-connecting-to-remote-registry-sever-started-in-tls-mode
Please see the detail how to configure registry server registry-server.md
Please refer the page for more details on how to configure authentication and authorization.