Skip to content

Instantly share code, notes, and snippets.

View zmx's full-sized avatar

Zhong, Ming-Xun zmx

View GitHub Profile
@zmx
zmx / vault-cp.sh
Created May 7, 2024 07:55
vault cp
vault kv put kv/destination/path @<(vault kv get -format=json kv/origin/path | jq .data.data)
# via https://gist.github.com/elasticdog/e82f0b8e63407cbb6af69341cb9d0336?permalink_comment_id=3278492#gistcomment-3278492