Azure Synapse
Updated at:
Configure service account permissions and data source connection settings for scanning Azure Synapse metadata.
Service account authorization
-- =============================================
-- Step 1: Create a logon in the master database
-- =============================================
CREATE LOGIN <username> WITH PASSWORD = 'your_password';
-- =============================================
-- Step 2: Create a user and grant permissions in the target database
-- =============================================
-- Create a database user and map it to the logon
CREATE USER <username> FOR LOGIN <username>;
-- Grant the least privilege required for metadata inventory
GRANT VIEW DEFINITION TO <username>;
GRANT VIEW DATABASE STATE TO <username>;
Data source management
|
Options |
Description |
|
|
JDBC connection URL (Required) |
|
|
Username (Required) |
|
|
Password (Required) |
lhm datasource set ClickHouse -n ck1 \
--jdbc-url jdbc:sqlserver://<host>:1433;database=<db> \
--username <username> \
--password '$DB_PASSWORD'
Is this page helpful?