This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Description
As you can see I am passing in junk values for awsAccessKeyID and awsSecretAccessKey. It is not clear if the intention for passing in these values is for overriding default values for testing with diff. creds or not. Because it seems that it is ignoring the values sent in.
curl -X POST http://localhost:8056/v1/functions \
-d '{
"functionId": "test",
"provider": {
"type": "awslambda",
"arn": "arn:aws:lambda:us-east-1:063733696545:function:user-service-prod-test",
"region": "us-east-1",
"awsAccessKeyID": "junk",
"awsSecretAccessKey": "junk"
}
}'
# response
{
"functionId": "test",
"provider": {
"type": "awslambda",
"arn": "arn:aws:lambda:us-east-1:063733696545:function:user-service-prod-test",
"region": "us-east-1",
"awsAccessKeyID": "junk",
"awsSecretAccessKey": "junk"
}
}