mirror of
https://github.com/hanzozt/zt.git
synced 2026-10-30 15:04:55 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
11 lines
458 B
Bash
Executable File
11 lines
458 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "*****************************************************"
|
|
#### Add service policies
|
|
|
|
# Allow all identities to use any edge router with the "public" attribute
|
|
zt edge create edge-router-policy all-endpoints-public-routers --edge-router-roles "#public" --identity-roles "#all"
|
|
|
|
# Allow all edge-routers to access all services
|
|
zt edge create service-edge-router-policy all-routers-all-services --edge-router-roles "#all" --service-roles "#all"
|