mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 07:27:43 +00:00
docs: improve mssql statement order
This commit is contained in:
@@ -17,14 +17,14 @@ Infisical supports connecting to Microsoft SQL Server using database principals.
|
|||||||
-- Grant server-level connect permission
|
-- Grant server-level connect permission
|
||||||
GRANT CONNECT SQL TO [infisical_app];
|
GRANT CONNECT SQL TO [infisical_app];
|
||||||
|
|
||||||
|
-- If you intend to use Platform Managed Credentials (see below)
|
||||||
|
GRANT ALTER ANY LOGIN TO [infisical_app];
|
||||||
|
|
||||||
-- Switch to the specific database where you want to create the user
|
-- Switch to the specific database where you want to create the user
|
||||||
USE my_database;
|
USE my_database;
|
||||||
|
|
||||||
-- Create the database user mapped to the login
|
-- Create the database user mapped to the login
|
||||||
CREATE USER [infisical_app] FOR LOGIN [infisical_app];
|
CREATE USER [infisical_app] FOR LOGIN [infisical_app];
|
||||||
|
|
||||||
-- If you intend to use Platform Managed Credentials (see below)
|
|
||||||
GRANT ALTER ANY LOGIN TO [infisical_app];
|
|
||||||
```
|
```
|
||||||
</Step>
|
</Step>
|
||||||
<Step title="Grant Relevant Permissions">
|
<Step title="Grant Relevant Permissions">
|
||||||
|
|||||||
Reference in New Issue
Block a user