mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 11:27:47 +00:00
Review fixes
This commit is contained in:
+2
-2
@@ -8,10 +8,10 @@ export const ORACLEDB_CREDENTIALS_ROTATION_LIST_OPTION: TSecretRotationV2ListIte
|
|||||||
connection: AppConnection.OracleDB,
|
connection: AppConnection.OracleDB,
|
||||||
template: {
|
template: {
|
||||||
createUserStatement: `-- create user
|
createUserStatement: `-- create user
|
||||||
CREATE USER infisical_user IDENTIFIED BY "temporary_password";
|
CREATE USER INFISICAL_USER IDENTIFIED BY "temporary_password";
|
||||||
|
|
||||||
-- grant all privileges
|
-- grant all privileges
|
||||||
GRANT ALL PRIVILEGES TO infisical_user;`,
|
GRANT ALL PRIVILEGES TO INFISICAL_USER;`,
|
||||||
secretsMapping: {
|
secretsMapping: {
|
||||||
username: "ORACLEDB_USERNAME",
|
username: "ORACLEDB_USERNAME",
|
||||||
password: "ORACLEDB_PASSWORD"
|
password: "ORACLEDB_PASSWORD"
|
||||||
|
|||||||
@@ -15,12 +15,12 @@ description: "Learn how to automatically rotate Oracle Database credentials."
|
|||||||
An example creation statement might look like:
|
An example creation statement might look like:
|
||||||
```SQL
|
```SQL
|
||||||
-- create user roles
|
-- create user roles
|
||||||
CREATE USER infisical_user_1 IDENTIFIED BY "temporary_password";
|
CREATE USER INFISICAL_USER_1 IDENTIFIED BY "temporary_password";
|
||||||
CREATE USER infisical_user_2 IDENTIFIED BY "temporary_password";
|
CREATE USER INFISICAL_USER_2 IDENTIFIED BY "temporary_password";
|
||||||
|
|
||||||
-- grant necessary privileges
|
-- grant necessary privileges
|
||||||
GRANT ALL PRIVILEGES TO infisical_user_1;
|
GRANT ALL PRIVILEGES TO INFISICAL_USER_1;
|
||||||
GRANT ALL PRIVILEGES TO infisical_user_2;
|
GRANT ALL PRIVILEGES TO INFISICAL_USER_2;
|
||||||
```
|
```
|
||||||
|
|
||||||
<Note>
|
<Note>
|
||||||
@@ -57,7 +57,7 @@ description: "Learn how to automatically rotate Oracle Database credentials."
|
|||||||
- **Database Username 2** - the username of the second user that will be used for rotation.
|
- **Database Username 2** - the username of the second user that will be used for rotation.
|
||||||
|
|
||||||
<Note>
|
<Note>
|
||||||
Ensure that the usernames are UPPERCASE if they were created without "quotes".
|
If your Oracle usernames were created without "quotes", Oracle sees them as UPPERCASE. Please use UPPERCASE for those names in the fields above.
|
||||||
</Note>
|
</Note>
|
||||||
|
|
||||||
5. Specify the secret names that the active credentials should be mapped to. Then click **Next**.
|
5. Specify the secret names that the active credentials should be mapped to. Then click **Next**.
|
||||||
|
|||||||
+2
-2
@@ -52,8 +52,8 @@ export const SqlCredentialsRotationParametersFields = () => {
|
|||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
placeholder={
|
placeholder={
|
||||||
rotationOption.connection === AppConnection.OracleDB
|
rotationOption.connection === AppConnection.OracleDB
|
||||||
? "INFISICAL_USER_1"
|
? "INFISICAL_USER_2"
|
||||||
: "infisical_user_1"
|
: "infisical_user_2"
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|||||||
Reference in New Issue
Block a user