Class YAMLSecretsFileConnector

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension

public class YAMLSecretsFileConnector extends YAMLSecretsStoreConnector
YAMLSecretsStoreConnector retrieves secrets from a YAML File
  • Constructor Details

    • YAMLSecretsFileConnector

      public YAMLSecretsFileConnector()
  • Method Details

    • start

      Indicates that the connector is completely configured and can begin processing.
      Overrides:
      start in class YAMLSecretsStoreConnector
      Throws:
      ConnectorCheckedException - the connector detected a problem.
      UserNotAuthorizedException - the connector was disconnected before/during start
    • getSecretsStore

      public SecretsStore getSecretsStore()
      Retrieve the refresh time from the secrets store.
      Returns:
      how long the secrets can be cached - 0 means indefinitely
    • setSecretsCollectionName

      public void setSecretsCollectionName(String secretsCollectionName)
      Dynamically set the secrets collection name for the secrets store.
      Parameters:
      secretsCollectionName - name of the secrets collection