get_container_credentials/1 | Retrieve the container credentials. |
get_container_credentials(Config::aws_config()) -> {ok, binary()} | {error, container_credentials_unavailable | erlcloud_aws:httpc_result_error()}
Retrieve the container credentials. Will fail if not an ECS task.
This convenience function will retrieve the credentials from the AWS metadata available at http://169.254.170.2${AWS_CONTAINER_CREDENTIALS_RELATIVE_URI}
Generated by EDoc