Class SecretsStoreConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.connectors.SecretsStoreConnector
- All Implemented Interfaces:
SecureConnectorExtension
SecretsStoreConnector is the interface for a connector that is able to retrieve secrets (passwords, certificates, ...) from a secure location.
The secrets store connector is embedded in a connector that needs one or more secrets to perform its tasks. Both connectors are initialised
together by the ConnectorBroker. The secrets store connector is called by the surrounding connector to extract the needed secrets.
When the ConnectorBroker detects that there is a secrets store connector embedded in another connector, it attempts to retrieve the standard
secrets for the corresponding connection object (if they are null):
- userId
- clearPassword
- encryptedPassword
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, initializeSecretsStoreConnector, isActive, start, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
Constructor Details
-
SecretsStoreConnector
public SecretsStoreConnector()
-
-
Method Details
-
getSecret
Retrieve a secret from the secrets store.- Parameters:
secretName- name of the secret.- Returns:
- secret
-