mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update some username stuff
This commit is contained in:
@@ -15,14 +15,18 @@ description: "Learn how to automatically rotate Oracle Database credentials."
|
||||
An example creation statement might look like:
|
||||
```SQL
|
||||
-- create user roles
|
||||
CREATE USER "infisical_user_1" IDENTIFIED BY "temporary_password";
|
||||
CREATE USER "infisical_user_2" IDENTIFIED BY "temporary_password";
|
||||
CREATE USER infisical_user_1 IDENTIFIED BY "temporary_password";
|
||||
CREATE USER infisical_user_2 IDENTIFIED BY "temporary_password";
|
||||
|
||||
-- grant necessary privileges
|
||||
GRANT ALL PRIVILEGES TO "infisical_user_1";
|
||||
GRANT ALL PRIVILEGES TO "infisical_user_2";
|
||||
GRANT ALL PRIVILEGES TO infisical_user_1;
|
||||
GRANT ALL PRIVILEGES TO infisical_user_2;
|
||||
```
|
||||
|
||||
<Note>
|
||||
Username must either be ALL UPPERCASE or not be surrounded by "quotes". Values not surrounded by quotes get automatically transformed to uppercase by Oracle Database.
|
||||
</Note>
|
||||
|
||||
<Tip>
|
||||
To learn more about the Oracle Database permission system, please visit their [documentation](https://docs.oracle.com/en/database/oracle/oracle-database/19/dbseg/configuring-privilege-and-role-authorization.html).
|
||||
</Tip>
|
||||
@@ -52,6 +56,10 @@ description: "Learn how to automatically rotate Oracle Database credentials."
|
||||
- **Database Username 1** - the username of the first user that will be used for rotation.
|
||||
- **Database Username 2** - the username of the second user that will be used for rotation.
|
||||
|
||||
<Note>
|
||||
Ensure that the usernames are UPPERCASE if they were created without "quotes".
|
||||
</Note>
|
||||
|
||||
5. Specify the secret names that the active credentials should be mapped to. Then click **Next**.
|
||||

|
||||
|
||||
@@ -93,8 +101,8 @@ description: "Learn how to automatically rotate Oracle Database credentials."
|
||||
"minutes": 0
|
||||
},
|
||||
"parameters": {
|
||||
"username1": "infisical_user_1",
|
||||
"username2": "infisical_user_2"
|
||||
"username1": "INFISICAL_USER_1",
|
||||
"username2": "INFISICAL_USER_2"
|
||||
},
|
||||
"secretsMapping": {
|
||||
"username": "ORACLEDB_USERNAME",
|
||||
@@ -149,8 +157,8 @@ description: "Learn how to automatically rotate Oracle Database credentials."
|
||||
"lastRotationMessage": null,
|
||||
"type": "oracledb-credentials",
|
||||
"parameters": {
|
||||
"username1": "infisical_user_1",
|
||||
"username2": "infisical_user_2"
|
||||
"username1": "INFISICAL_USER_1",
|
||||
"username2": "INFISICAL_USER_2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 764 KiB After Width: | Height: | Size: 712 KiB |
@@ -19,8 +19,14 @@ Infisical supports connecting to OracleDB using a database user.
|
||||
Infisical recommends creating a designated user in your Oracle Database for your connection.
|
||||
```SQL
|
||||
-- create user
|
||||
CREATE USER "infisical" IDENTIFIED BY "my-password";
|
||||
CREATE USER infisical IDENTIFIED BY "my-password";
|
||||
|
||||
-- grant create session privileges
|
||||
GRANT CREATE SESSION TO infisical;
|
||||
```
|
||||
<Note>
|
||||
Username must either be ALL UPPERCASE or not be surrounded by "quotes". Values not surrounded by quotes get automatically transformed to uppercase by Oracle Database.
|
||||
</Note>
|
||||
</Step>
|
||||
<Step title="Grant Relevant Permissions">
|
||||
Depending on how you intend to use your OracleDB connection, you'll need to grant one or more of the following permissions.
|
||||
@@ -32,7 +38,7 @@ Infisical supports connecting to OracleDB using a database user.
|
||||
For Secret Rotations, your Infisical user will require the ability to alter other users' passwords:
|
||||
```SQL
|
||||
-- enable permissions to alter login credentials
|
||||
GRANT ALTER USER TO "infisical";
|
||||
GRANT ALTER USER TO infisical;
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
Reference in New Issue
Block a user