Files
ziti/quickstart/docker/image/access-control.sh
T
Tod 62af4175cc Making the init container a little more flexible (#776)
* Creating a wrapper run-with-ziti-cli.sh
2022-07-11 11:36:42 -04:00

11 lines
462 B
Bash
Executable File

#!/bin/bash
echo "*****************************************************"
#### Add service policies
# Allow all identities to use any edge router with the "public" attribute
ziti edge create edge-router-policy all-endpoints-public-routers --edge-router-roles "#public" --identity-roles "#all"
# Allow all edge-routers to access all services
ziti edge create service-edge-router-policy all-routers-all-services --edge-router-roles "#all" --service-roles "#all"