Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mchmarny/iapd
Cloud Run Identity Aware Proxy Demo
https://github.com/mchmarny/iapd
Last synced: 5 days ago
JSON representation
Cloud Run Identity Aware Proxy Demo
- Host: GitHub
- URL: https://github.com/mchmarny/iapd
- Owner: mchmarny
- License: apache-2.0
- Created: 2023-05-29T13:23:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-30T13:48:16.000Z (over 1 year ago)
- Last Synced: 2024-06-21T08:25:52.460Z (5 months ago)
- Language: HCL
- Size: 1.38 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iapd
Cloud Run Identity Aware Proxy demo, illustrating how to off-load user authentication outside your application.
> WIP: this demo is still being developed. Do not use it yet.
## deployment
### prerequisites
The deploy this solution you will need:
* [Terraform CLI](https://www.terraform.io/downloads)
* [GCP Project](https://cloud.google.com/resource-manager/docs/creating-managing-projects)
* [gcloud CLI](https://cloud.google.com/sdk/gcloud) (aka Google Cloud SDK)### prep
Few manual steps:
https://cloud.google.com/iap/docs/enabling-compute-howto
### setup
Start by cloning this repo, and navigate into it:
```shell
git clone [email protected]:mchmarny/iapd.git
cd iapd
```Next, authenticate to GCP:
```shell
gcloud auth application-default login
```Initialize the Terraform configuration:
```shell
terraform init
```### deployment
When done, deploy the solution:
```shell
terraform apply
```## cleanup
To clean all the resources provisioned by this setup run:
```shell
terraform destroy
```> Note, some resources like the database, are set to prevent accidental deletes. That setting will have to be disabled manually before `terraform` will be able to delete them.
## Disclaimer
This is my personal project and it does not represent my employer. While I do my best to ensure that everything works, I take no responsibility for issues caused by this code.