Bear Token
This documentation is for an unreleased version of Apache Paimon. We recommend you use the latest stable version.

Bear Token #

A bearer token is an encrypted string, typically generated by the server based on a secret key. When the client sends a request to the server, it must include Authorization: Bearer <token> in the request header. After receiving the request, the server extracts the <token> and validates its legitimacy. If the validation passes, the authentication is successful.

CREATE CATALOG `paimon-rest-catalog`
WITH (
    'type' = 'paimon',
    'uri' = '<catalog server url>',
    'metastore' = 'rest',
    'warehouse' = 'my_instance_name',
    'token.provider' = 'bear'
    'token' = '<token>'
);
Edit This Page
Copyright © 2024 The Apache Software Foundation. Apache Paimon, Paimon, and its feather logo are trademarks of The Apache Software Foundation.