mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Review fixes
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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**.
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user