diff --git a/doc/user-guides/anonymous-access.md b/doc/user-guides/anonymous-access.md new file mode 100644 index 000000000..135da3911 --- /dev/null +++ b/doc/user-guides/anonymous-access.md @@ -0,0 +1,177 @@ +# Enforcing anonymous access with Kuadrant AuthPolicy + +Learn how to allow anonymous access to certain endpoints using Kuadrant's `AuthPolicy` + +## Requisites + +- [Docker](https://docker.io) + +## Run the guide ① → ④ + +### ① Setup + +Clone the repo: + +```sh +git clone git@github.com:Kuadrant/kuadrant-operator.git && cd kuadrant-operator +``` + +Run the following command to create a local Kubernetes cluster with [Kind](https://kind.sigs.k8s.io/), install & deploy Kuadrant: + +```sh +make local-setup +``` + +Request an instance of Kuadrant in the `kuadrant-system` namespace: + +```sh +kubectl -n kuadrant-system apply -f - <