@vulcan-sql/extension-authenticator-canner
TypeScript icon, indicating that this package has built-in type declarations

0.10.4 • Public • Published

extension-authenticator-canner

This extension make Data API(VulcanSQL API) can integrate with Canner Enterprise and use Canner as a authenticate server

This extension let Data API request can be authenticated with Canner PAT

Install

  1. Install package

    npm i @vulcan-sql/extension-authenticator-canner
  2. Update vulcan.yaml, enable the extension and enable the auth configuration.

    auth:
      enabled: true
      # The extension-authenticator-canner and [build-in authenticator](https://vulcansql.com/docs/data-privacy/authn) can work at the same time
    
    extensions:
      canner-authenticator: '@vulcan-sql/extension-authenticator-canner'
  3. Update vulcan.yaml, define your canner-authenticator

    canner-authenticator:
      # To having the same config structure to the authenticator middleware, we need to put options under "options".
      options:
        canner-pat:
          # your canner enterprise host
          host: 'my-canner-host-dns'
          # your canner enterprise port
          port: 443
          # indicate using http or https default is false
          ssl: true

Package Sidebar

Install

npm i @vulcan-sql/extension-authenticator-canner

Weekly Downloads

1

Version

0.10.4

License

Apache-2.0

Unpacked Size

12.3 kB

Total Files

17

Last publish

Collaborators

  • fredalai
  • shimin.wong
  • cannerbot
  • wwwy3y3