Skip to content

Opensearch dashboards.savedobjectsrepositoryfactory

Home > opensearch-dashboards > SavedObjectsRepositoryFactory

SavedObjectsRepositoryFactory interface

Factory provided when invoking a client factory provider See SavedObjectsServiceSetup.setClientFactoryProvider

Signature:

export interface SavedObjectsRepositoryFactory 

Properties

Property Type Description
createInternalRepository (includedHiddenTypes?: string[]) => ISavedObjectsRepository Creates a Saved Objects repository that uses the internal OpenSearch Dashboards user for authenticating with OpenSearch.
createScopedRepository (req: OpenSearchDashboardsRequest, includedHiddenTypes?: string[]) => ISavedObjectsRepository Creates a Saved Objects repository that uses the credentials from the passed in request to authenticate with OpenSearch.