@digitalroute/dazzlerjs-elastic-aws-signer
v1.5.1
Published
UDP module for signing elasticsearch requests
Downloads
15
Keywords
Readme
DazzlerJs elastic-aws-signer
UDP module for signing elasticsearch requests
Dependencies
Usage
npm install @digitalroute/dazzlerjs-elastic-aws-signer
import {
AwsConnection,
AwsTransport,
initiateAwsCredentials,
config,
} from '@digitalroute/dazzlerjs-elastic-aws-signer';
config.credentials = FOO_CREDENTIALS | (await initiateAwsCredentials());
const client = new Client({
node: ES_URL,
Transport: AwsTransport,
Connection: AwsConnection,
});
Configurations
Package requires config.credentials to be set.