mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 07:41:17 +00:00
e68f7b7110
Signed-off-by: gberl002 <geoff.berl@netfoundry.io>
11 lines
350 B
Bash
Executable File
11 lines
350 B
Bash
Executable File
suffix=$(date +"%b-%d-%H%M")
|
|
idname="User${suffix}"
|
|
|
|
ziti edge login "${ZITI_CTRL_EDGE_ADVERTISED_ADDRESS}" -u "${ZITI_USER}" -p "${ZITI_PWD}" -y
|
|
|
|
ziti edge delete identity "${idname}"
|
|
ziti edge create identity device "${idname}" -o "${ZITI_HOME}/test_identity".jwt
|
|
|
|
cp "${ZITI_HOME}/test_identity".jwt /mnt/v/temp/ziti-windows-tunneler/_new_id.jwt
|
|
|