Review fixes

This commit is contained in:
x032205
2025-06-12 15:17:22 -04:00
parent dbbcb157ef
commit 36c93f47d9
3 changed files with 9 additions and 9 deletions

View File

@@ -8,10 +8,10 @@ export const ORACLEDB_CREDENTIALS_ROTATION_LIST_OPTION: TSecretRotationV2ListIte
connection: AppConnection.OracleDB,
template: {
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 TO infisical_user;`,
GRANT ALL PRIVILEGES TO INFISICAL_USER;`,
secretsMapping: {
username: "ORACLEDB_USERNAME",
password: "ORACLEDB_PASSWORD"

View File

@@ -15,12 +15,12 @@ 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>
@@ -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.
<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>
5. Specify the secret names that the active credentials should be mapped to. Then click **Next**.

View File

@@ -52,8 +52,8 @@ export const SqlCredentialsRotationParametersFields = () => {
onChange={onChange}
placeholder={
rotationOption.connection === AppConnection.OracleDB
? "INFISICAL_USER_1"
: "infisical_user_1"
? "INFISICAL_USER_2"
: "infisical_user_2"
}
/>
</FormControl>