An open API service indexing awesome lists of open source software.

https://github.com/yandex-cloud-examples/yc-serverless-apigw-ip-authorizer

How you can implement IP-based authorization to restrict access to your API Gateway resources in Yandex Cloud.
https://github.com/yandex-cloud-examples/yc-serverless-apigw-ip-authorizer

api-gateway serverless terraform yandex-cloud yandex-function yandexcloud

Last synced: 3 months ago
JSON representation

How you can implement IP-based authorization to restrict access to your API Gateway resources in Yandex Cloud.

Awesome Lists containing this project

README

          

# Yandex Cloud demo IP-authorizer for API Gateway

This example demonstrates how you can implement IP-based authorization to restrict access to your API Gateway resources.

## Deploying with terraform

Initialize terraform:
```shell
terraform init
```

Apply terraform spec, using your Yandex Cloud folder id and IP address that must have access to your API Gateway:
```shell
terraform apply -var "yc-token=$(yc iam create-token)" -var "folder-id=" -var "allow-from-ip="
```

Open printed gateway-address link in your web browser.