Reputation: 125
I've got an iOS Shopping App and want to send crash dumps to an AWS Lambda Function.
To save costs for an API Gateway I want to send them directly to Lambda.
How can I authenticate the App and configure it so no other App can send crash dumps to my Lambda Function?
Upvotes: 0
Views: 452
Reputation: 1
I'll tell you what i have do for a similar problem:
AWS_SECRET_KEY_ID
and AWS_SECRET_ACCESS_KEY
session = boto3.Session(
aws_access_key_id=session['access_key'],
aws_secret_access_key=session['secret_access_key'],
aws_session_token=session['security_token']
)
client = session.client('sts')
response = client.get_caller_identity()
Upvotes: 0
Reputation: 31
Upvotes: 1