The Pulumi ElasticCloud provider uses the ElasticCloud SDK to manage resources.
The ElasticCloud provider is available as a package in all Pulumi languages:
Configuring The Provider
Pulumi relies on the ElasticCloud SDK to authenticate requests from your computer to ElasticCloud. Your credentials are never sent to pulumi.com. Once the credentials are obtained, there are two ways to communicate your configuration parameters to Pulumi:
Set the environment variable
$ export EC_API_KEY=XXXXXX
If you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set ec:apikey XXXXXX --secret
The complete list of configuration parameters is in the ElasticCloud provider README.