Skip to content

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

License

Notifications You must be signed in to change notification settings

yandex-cloud-examples/yc-serverless-apigw-ip-authorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

terraform init

Apply terraform spec, using your Yandex Cloud folder id and IP address that must have access to your API Gateway:

terraform apply -var "yc-token=$(yc iam create-token)" -var "folder-id=<Your Folder ID>" -var "allow-from-ip=<Allowed IP>"

Open printed gateway-address link in your web browser.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published