Answers for "vault create/enable secret engine"

PHP
0

vault create/enable secret engine

/* Create a Secret Engine and enable it on a custom path */
vault secrets enable -path=mykv2 kv-v2   #OR
vault secrets enable -path=mykv2 --version=2 kv
#No path provided then takes the same last name as path

#Disable a Secret-Engine kv-v2 is the path provided
vault secrets disable kv-v2

#Move a secret-engine from old to new mount path 
#Here i am moving mykv2(existing path) to new mount path mykv3
vault secrets move mykv2/ mykv3/
Posted by: Guest on October-10-2020

Browse Popular Code Answers by Language