Class OracleContainerSecrets
java.lang.Object
com.oracle.spring.testcontainers.OracleContainerSecrets
- All Implemented Interfaces:
AutoCloseable
Shared, auto-closeable secret files for Oracle AI Database Free containers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDocumented secret name containing the Oracle administrative password. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Returns the Oracle password used for JDBC connections.static OracleContainerSecretswithOraclePassword(String oraclePassword) Creates secrets containing the mandatoryoracle_pwdfile.withSecret(String name, byte[] content) Adds a supplementary documented secret, such asoracle_pwd_priv_key.
-
Field Details
-
ORACLE_PASSWORD_SECRET
Documented secret name containing the Oracle administrative password.- See Also:
-
-
Method Details
-
withOraclePassword
Creates secrets containing the mandatoryoracle_pwdfile. -
withSecret
Adds a supplementary documented secret, such asoracle_pwd_priv_key. The supplied bytes are copied and wiped when this handle closes. -
getOraclePassword
Returns the Oracle password used for JDBC connections. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-