Skip to content
Discussion options

You must be logged in to vote

You are right, sorry. The 2.7.2 CLI uses the authenticated paths. The setting only adds the legacy routes back, so call them with curl:

curl -X PUT $BAO_ADDR/v1/sys/generate-root/attempt   # gives nonce and otp
curl -X PUT -d '{"key":"<share>","nonce":"<nonce>"}' $BAO_ADDR/v1/sys/generate-root/update   # once per share
curl -X PUT -d '{"encoded_token":"<encoded_token>","otp":"<otp>"}' $BAO_ADDR/v1/sys/decode-token

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MurielBennett
Comment options

@g4lb
Comment options

Answer selected by MurielBennett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants