Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Review fixes

x03220536c93f47d925
diff --git a/backend/src/ee/services/secret-rotation-v2/oracledb-credentials/oracledb-credentials-rotation-constants.ts b/backend/src/ee/services/secret-rotation-v2/oracledb-credentials/oracledb-credentials-rotation-constants.ts
index 74957c693b..dd685041c6 100644
--- a/backend/src/ee/services/secret-rotation-v2/oracledb-credentials/oracledb-credentials-rotation-constants.ts
+++ b/backend/src/ee/services/secret-rotation-v2/oracledb-credentials/oracledb-credentials-rotation-constants.ts
@@ -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"
diff --git a/docs/documentation/platform/secret-rotation/oracledb-credentials.mdx b/docs/documentation/platform/secret-rotation/oracledb-credentials.mdx
index b9ba428410..fb0887d337 100644
--- a/docs/documentation/platform/secret-rotation/oracledb-credentials.mdx
+++ b/docs/documentation/platform/secret-rotation/oracledb-credentials.mdx
@@ -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**.
diff --git a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/shared/SqlCredentialsRotationParametersFields.tsx b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/shared/SqlCredentialsRotationParametersFields.tsx
index a36162157d..0d88aaaaa9 100644
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/shared/SqlCredentialsRotationParametersFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/shared/SqlCredentialsRotationParametersFields.tsx
@@ -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>