nodevault / node-vault

Client for HashiCorp's Vault
https://vaultproject.io/
MIT License
528 stars 161 forks source link

unable to write new secrets #212

Closed Dayo-Adewuyi closed 1 year ago

Dayo-Adewuyi commented 1 year ago

i tried to write a secret to vault using the code below

await vault.write('secret/hello', { value: 'world', lease: '1s' }) but i keep getting the error response: { statusCode: 400, body: { errors: [ 'no data provided' ] } }

jerryk1925 commented 1 year ago

You fix this problem?

Dayo-Adewuyi commented 1 year ago

yes