CREATE API_TOKEN
Description
Create an API token for a service principal.
Note that the SQL statement does not end with ;
Syntax
CREATE API_TOKEN `<token-name>`
SERVICE_PRINCIPAL = '<service-principal-name>'
Example
CREATE API_TOKEN `warehouse_loader`
SERVICE_PRINCIPAL = 'my_service_principal'
Required parameters
<token-name>: Identifier for the new API token.- Must be unique for the specified service principal.
SERVICE_PRINCIPAL: The service principal that owns the token.- Provide the existing service principal name as a string.