Oracle Database 26ai is now availble. If you haven't you downloaded already: Why?
Purpose
Implements helper APIs that must to be installed as common IN an Autonomous Database.
The source for the PL/SQL package CLOUD_LOGGER, owned by C##CLOUD$SERVICE in the Autonomous Database,
could not be found so a valid deployment of this package was not possible and the demos below untested.
AUTHID
DEFINER
Data Types
-- record and collection representing PDB drift
TYPE drift_rec IS RECORD (
name VARCHAR(80),
value VARCHAR2(4000),
default_value VARCHAR2(4000),
con_id NUMBER);
SP2-0808: Package created with compilation warnings
Errors for PACKAGE POD_CDB_ADMIN_UTIL:
LINE/COL ERROR
-------- -----------------------------------------------------------------
1/1 PLW-05018: unit POD_CDB_ADMIN_UTIL omitted optional AUTHID clause; default value DEFINER used
5/5 PLW-06010: keyword "NAME" used as a defined name
6/5 PLW-05004: identifier VALUE is also declared in STANDARD or is a SQL builtin
6/5 PLW-06010: keyword "VALUE" used as a defined name
43/6 PLW-07203: parameter 'USERNAME' may benefit from use of the NOCOPY compiler hint
44/6 PLW-07203: parameter 'PASSWORD' may benefit from use of the NOCOPY compiler hint
45/6 PLW-06010: keyword "KEY" used as a defined name
45/6 PLW-07203: parameter 'KEY' may benefit from use of the NOCOPY compiler hint
50/5 PLW-07203: parameter 'WALLET_LOC' may benefit from use of the NOCOPY compiler hint
51/5 PLW-07203: parameter 'WALLET_PASSWD' may benefit from use of the NOCOPY compiler hint
SQL> @?/rdbms/admin/pod_cdb_admin_util.plb
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY POD_CDB_ADMIN_UTIL:
LINE/COL ERROR
-------- -----------------------------------------------------------------
55/6 PLW-07203: parameter 'USERNAME' may benefit from use of the NOCOPY compiler hint
56/6 PLW-07203: parameter 'PASSWORD' may benefit from use of the NOCOPY compiler hint
57/6 PLW-07203: parameter 'KEY' may benefit from use of the NOCOPY compiler hint
71/5 PLW-07203: parameter 'WALLET_LOC' may benefit from use of the NOCOPY compiler hint
72/5 PLW-07203: parameter 'WALLET_PASSWD' may benefit from use of the NOCOPY compiler hint
87/5 PL/SQL: Statement ignored
87/5 PLS-00201: identifier 'CLOUD_LOGGER.DEBUG' must be declared
89/5 PL/SQL: Statement ignored
89/5 PLS-00201: identifier 'CLOUD_LOGGER.SET_MODULE_NAME' must be declared
92/7 PL/SQL: Statement ignored
92/7 PLS-00201: identifier 'CLOUD_LOGGER.ERROR' must be declared
93/7 PL/SQL: Statement ignored
93/7 PLS-00201: identifier 'CLOUD_LOGGER.SET_MODULE_NAME' must be declared
159/7 PL/SQL: Statement ignored
159/7 PLS-00201: identifier 'CLOUD_LOGGER.DEBUG' must be declared
419/3 PL/SQL: Statement ignored
419/3 PLS-00201: identifier 'CLOUD_LOGGER.SET_CLIENT' must be declared
This procedures "screams" security risk. Further research will be required.
pod_cdb_admin_util.get_credential_info(
credential_name IN VARCHAR2,
username OUT VARCHAR2, -- username obtained from credential object
password OUT VARCHAR2, -- password obtained from credential object
key OUT VARCHAR2); -- key attributes obtained from credential object