LangSmith/Storage/Blob/S3
- How to use AWS/S3 with LangSmith Blob Storage
- Create a policy
- Once you have the correct policy, there are three ways to authenticate with Amazon S3:
- 1 - IAM Roles for Service Accounts (IRSA) (Recommended): You can create an IAM role for your LangSmith instance and attach the policy to that role. This is the recommended way to authenticate with Amazon S3 in production.
- 2 - Access Key and Secret Key: You can provide LangSmith with an access key and secret key. This is the simplest way to authenticate with Amazon S3. However, it is not recommended for production use as it is less secure.
- 3 - VPC Endpoint Access: You can enable access to your S3 bucket via a VPC endpoint, which allows traffic to flow securely from your VPC to your S3 bucket.
- You also need to set up AWS/S3/Rule/Lifecycle; see here