My Oracle Support Banner

ORDS Setting Secret Is Not Working (Doc ID 2945894.1)

Last updated on APRIL 29, 2023

Applies to:

Oracle REST Data Services - Version 22.4.2 and later
Information in this document applies to any platform.

Symptoms

On : 22.4.2 version, All Issues

When attempting to set password for default pool, it is failing

ERROR
-----------------------


${ORDS_HOME}/bin/ords --config ${ORDS_CONFIG} config secret db.password

ORDS: Release 22.4 Production on Wed Apr 26 22:26:42 2023
Copyright (c) 2010, 2023, Oracle.
Configuration:
  /ords_config/config/
Enter the database password:
Confirm password:
The setting named: db.password was set to: ****** in configuration: default

The above seems to work... But when I run the following command, it is failing

${ORDS_HOME}/bin/ords --config ${ORDS_CONFIG} config get --secret db.password

ORDS: Release 22.4 Production on Wed Apr 26 22:27:06 2023
Copyright (c) 2010, 2023, Oracle.
Configuration:
  /mdlwr-code01/ords_config/config/
Cannot get setting db.password because the setting is not found in database pool default located at /mdlwr-code01/ords_config/config/databases/default



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. New install
2. Using openjdk vs Oracle Java

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot reset password.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.