Skip to main content

Credentials

To access the data provided by NEAR Lake you need to provide valid AWS credentials in order to be charged by the AWS for the S3 usage.

AWS credentials

Please note that using your own AWS Credentials is the only way to access the data provided by NEAR Lake ecosystem.

AWS S3 Credentials​

To be able to get objects from the AWS S3 bucket you need to provide your AWS credentials.

AWS default profile configuration with aws configure looks similar to the following:

~/.aws/credentials
[default]
aws_access_key_id=<YOUR_AWS_ACCESS_KEY_ID>
aws_secret_access_key=<YOUR_AWS_ACCESS_KEY>

AWS docs: Configuration and credential file settings

Environment variables​

Alternatively, you can provide your AWS credentials via environment variables with constant names:

$ export AWS_ACCESS_KEY_ID=<YOUR_AWS_ACCESS_KEY_ID>
$ AWS_SECRET_ACCESS_KEY=<YOUR_AWS_ACCESS_KEY>
$ AWS_DEFAULT_REGION=eu-central-1
Was this page helpful?