Documentation
¶
Overview ¶
Package main provides a standalone CLI tool to migrate user IDs from an external IdP format to the embedded Dex IdP format used by NetBird >= v0.62.0.
This tool reads management.json to auto-detect the current external IdP configuration (issuer, clientID, clientSecret, type) and re-encodes all user IDs in the database to the Dex protobuf-encoded format. It works independently of migrate.sh and the combined server, allowing operators to migrate their database before switching to the combined server.
Usage:
netbird-idp-migrate --config /etc/netbird/management.json [--dry-run] [--force]
Click to show internal directories.
Click to hide internal directories.