Spitz
1
Q:

TOTP secret engine in hashicorp vault

#create Field with only barcode
>> vault write --field=barcode totp/keys/ankit generate=true issuer=vault account_name=ankit@internal

#Normal Creation of TOTP key
>> vault write  totp/keys/ankit generate=true issuer=vault account_name=ankit@internal

#list the keys
>> vault list totp/keys

#Generate the Bar code from linux or refer below Online URL to convert base64 to image 
https://codebeautify.org/base64-to-image-converter

#Read and Verify the code with authenticator
>> vault read totp/code/ankit

#Verify/Validate your code with the thrid party app
vault write totp/code/ankit code=631308

#Delete the key 
>> vault delete totp/keys/ankit

#For more detail refer below source URL
0

New to Communities?

Join the community