# Type of request: This is a ...

[*] bug report
[ ] feature request

# Detailed description

Perhaps not a bug report per se, but this affected me at least. A new version of `lambci/docker-lambda` was pushed recently. [This commit](https://github.com/lambci/docker-lambda/commit/7ece2742a5b0e84eb09d6ed659f123474e619b27) removed hardcoded defaults for `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.

I have a lambda that reads a value from secret in `secretsmanager`. If I don't set dummy values for `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` when creating the lambda invoking it will time out reading the secret.

## Expected behavior

A lambda function can read a secret from `secretsmanager`.

## Actual behavior

Lambda times out trying to read secret.

# Steps to reproduce

Create a lambda which tries to read a secret from `secretsmanager` without adding the environments variables mentioned above.

## Command used to start LocalStack

## Client code (AWS SDK code snippet, or sequence of "awslocal" commands)

This will work:
```bash
awslocal lambda create-function \
  --function-name foo \
  --runtime go1.x \
  --handler main \
  --role arn:aws:iam::123456790:role/ignore \
  --zip-file fileb://foo.zip \
  --environment "Variables={FOO=bar,AWS_ACCOUNT_ID=123456790,AWS_ACCESS_KEY_ID=0,AWS_SECRET_ACCESS_KEY=0}"
```

This will time out while reading:
```bash
awslocal lambda create-function \
  --function-name foo \
  --runtime go1.x \
  --handler main \
  --role arn:aws:iam::123456790:role/ignore \
  --zip-file fileb://foo.zip \
  --environment "Variables={FOO=bar}"
```
given archive as the base folder.
        The result contains any *.jar files in the base folder, as
        well as any JAR files in the "lib/*" subfolder living
        alongside the supplied java archive (.jar or .zip).
        :param archive: an absolute path to a .jar or .zip Java archive
        :return: the Java classpath, relative to the base dir of "archive"
        """
        entries = ['.']
        base_dir = os.path.dirname(archive)
        for pattern in ['%s/*.jar', '%s/lib/*.jar', '%s/java/lib/*.jar', '%s/*.zip']:
            for entry in glob.glob(pattern % base_dir):
                if os.path.realpath(archive) != os.path.realpath(entry):
                    entries.append(os.path.relpath(entry, base_dir))
        
        
        entries.append(os.path.relpath(archive, base_dir))
        entries.append('*.jar')
        entries.append('java/lib/*.jar')
        result = ':'.join(entries)
        return result
EXECUTOR_LOCAL = LambdaExecutorLocal()
EXECUTOR_CONTAINERS_SEPARATE = LambdaExecutorSeparateContainers()
EXECUTOR_CONTAINERS_REUSE = LambdaExecutorReuseContainers()
DEFAULT_EXECUTOR = EXECUTOR_CONTAINERS_SEPARATE
AVAILABLE_EXECUTORS = {
    'local': EXECUTOR_LOCAL,
    'docker': EXECUTOR_CONTAINERS_SEPARATE,
    'docker-reuse': EXECUTOR_CONTAINERS_REUSE
}