Closed BenjaminOddou closed 1 year ago
For now the read command is stupid and simple, it's just reading the content without doing any operations on it. If you look at the full json of your secret you will see the key containing the otpUrl/otpSecret that is the seed of the otp.
Upcoming release will allow you to do some transformation like:
dcli read 'dl://<id>/otpSecret?otp'
and this will return the current otp code
dcli read dl://<id>/otp
returnswhen I was expecting the same behavior as
dcli read dl://<id>/password
. In the returned response it could be nice to have the expire time like in thedcli otp id=<id>
.