Class EnvVarSecretsStoreConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.connectors.SecretsStoreConnector
org.odpi.openmetadata.adapters.connectors.secretsstore.envar.EnvVarSecretsStoreConnector
- All Implemented Interfaces:
- AuditLoggingComponent,- SecureConnectorExtension,- VirtualConnectorExtension
EnvVarSecretsStoreConnector retrieves secrets from environment variables.  Each secret is named for its environment variable.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBaseConnectorBase.ProtectedConnection
- 
Field SummaryFields inherited from class org.odpi.openmetadata.frameworks.connectors.SecretsStoreConnectorsecretsCollectionNameFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBaseauditLog, connectionBean, connectorInstanceId, embeddedConnectors, messageFormatter, secretsStoreConnectorMap
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongRetrieve the refresh time from the secrets store.Retrieve a secret from the secrets store.protected voidRequest that the subclass refreshes its secrets.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.SecretsStoreConnectorcheckSecretsStillValid, getConnectorComponentDescription, getNamedList, getNamedLists, getUser, getUsers, resetRefreshTime, setAuditLog, startMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBasecombineConfigurationProperties, disconnect, disconnectConnectors, equals, fromCanonicalToKebabCase, fromCanonicalToSnakeCase, fromKebabToCanonicalCase, fromSnakeToCanonicalCase, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getBooleanConfigurationProperty, getConnection, getConnectorInstanceId, getDateConfigurationProperty, getIntConfigurationProperty, getLongConfigurationProperty, getStringConfigurationProperty, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, initialize, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, logExceptionRecord, logRecord, logRecord, throwMissingConfigurationProperty, throwMissingEndpointAddress, throwMissingResource, throwNoAsset, throwWrongTypeOfAsset, throwWrongTypeOfResource, throwWrongTypeOfRootSchema, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorclearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, refreshStatistics, setStatisticProperty, setStatisticTimestamp
- 
Constructor Details- 
EnvVarSecretsStoreConnectorpublic EnvVarSecretsStoreConnector()
 
- 
- 
Method Details- 
refreshSecretsprotected void refreshSecrets()Request that the subclass refreshes its secrets.- Specified by:
- refreshSecretsin class- SecretsStoreConnector
 
- 
getSecretRetrieve a secret from the secrets store.- Specified by:
- getSecretin class- SecretsStoreConnector
- Parameters:
- secretName- name of the secret.
- Returns:
- secret
 
- 
getRefreshTimeIntervalpublic long getRefreshTimeInterval()Retrieve the refresh time from the secrets store.- Specified by:
- getRefreshTimeIntervalin class- SecretsStoreConnector
- Returns:
- how long the secrets can be cached - 0 means indefinitely
 
 
-