Skip to content

AWS integration guide#

The Neptune–AWS integration lets you initialize Neptune by reading your credentials from AWS Secrets.

Before you start#

Installing the integration#

Use your pre-installed version of Neptune together with the integration
pip install -U neptune-aws
Install both Neptune + integration
pip install -U "neptune[aws]"

Note: You must use this integration with the "neptune-client" package until neptune-aws is updated to 1.0.0.

conda
conda install -c conda-forge neptune-aws

Usage#

You can now initialize a Neptune run by passing the name of the secret and an AWS region:

from neptune.integrations.aws import init_run

run = init_run(
    secret="neptune-secret",  # Use your secret name here
    region="us-west-1",  # Use the appropriate region here
) 

Related