Authentication
EagleSense API supports two authentication methods depending on your security requirements and infrastructure setup.
Method 1: AWS IAM Role-Based Authentication
Section titled “Method 1: AWS IAM Role-Based Authentication”Clients authenticate by assuming designated AWS roles in our account and signing requests using AWS Signature Version 4.
Process
Section titled “Process”- Assume the Appropriate AWS Role: Use your AWS credentials to assume the role that matches your use case
- Obtain Temporary Credentials: AWS STS provides temporary access keys and session token
- Sign API Requests: Use AWS Signature Version 4 to sign all HTTP requests to our API endpoints
Prerequisites
Section titled “Prerequisites”- Your AWS account must be authorized in the respective role’s trust policy
- Contact our support team to have your AWS account ID added to the authorized principals
Method 2: IAM User Credentials
Section titled “Method 2: IAM User Credentials”We create an IAM user in our AWS account and provide you with the access keys for authentication.
Process
Section titled “Process”- Receive Credentials: We provide you with AWS access key ID and secret access key
- Configure Your Application: Use the provided credentials in your AWS SDK configuration
- Sign API Requests: Use AWS Signature Version 4 to sign all HTTP requests to our API endpoints
Prerequisites
Section titled “Prerequisites”- Contact our support team to request IAM user creation
- Securely store and manage the provided credentials according to your security policies

