mirror of
https://github.com/openziti/ziti.git
synced 2026-10-09 06:11:34 +00:00
62af4175cc
* Creating a wrapper run-with-ziti-cli.sh
11 lines
462 B
Bash
Executable File
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"
|