Service module for https://github.com/ex-aws/ex_aws
The package can be installed by adding :ex_aws_cognito
to your list of dependencies in mix.exs
along with :ex_aws
and your preferred JSON codec / http client
def deps do
[
{:ex_aws, "~> 2.0"},
{:ex_aws_cognito, "~> 2.0"},
{:poison, "~> 3.0"},
{:hackney, "~> 1.9"},
]
end
Documentation can be found at https://hexdocs.pm/ex_aws_cognito.
To run integration tests 3 environment variables are required:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_KEY_ACCESS
- AWS_COGNITO_INTEGRATION_POOL
You can skip integration tests by running mix test --exclude integration