Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 953 Bytes

kibana-plugin-core-server.savedobjectsservicestart.createscopedrepository.md

File metadata and controls

18 lines (10 loc) · 953 Bytes

Home > kibana-plugin-core-server > SavedObjectsServiceStart > createScopedRepository

SavedObjectsServiceStart.createScopedRepository property

Creates a Saved Objects repository that uses the credentials from the passed in request to authenticate with Elasticsearch.

Signature:

createScopedRepository: (req: KibanaRequest, includedHiddenTypes?: string[]) => ISavedObjectsRepository;

Remarks

Prefer using getScopedClient. This should only be used when using methods not exposed on SavedObjectsClientContract