Comments (3)
yes you were right. the clientToken did not have sufficient access to get that secret.
i updated the policy so the appRole is authorized, and tested with the cli as you said.
everything works now. Thanks!
i do think the docs and examples could be a bit more descriptive.
from node-vault.
For the first issue you mention, seems like you are trying to initialize an already initialized vault instance. Check the vault status with the vault cli to assert this.
For the second issue regarding using the client token to retrieve a secret, that seems like an issue of the client not having the needed permissions. You can also check this by using the vault cli again, authenticating with the client token and trying to retrieve the secret.
from node-vault.
I'm closing this for now as it seems like the problem is not node-vault
related.
from node-vault.
Related Issues (20)
- Missing 'rewrap' and 'keys' command HOT 1
- Use root token always get 404 response code HOT 3
- V2 KV engine support HOT 1
- Missing ldapLogin from index.d.ts HOT 2
- Missing certificate authentication mechanism HOT 1
- Add example of transit secret usage. HOT 1
- How to unseal a vault that is already initialized? HOT 2
- unable to write new secrets HOT 2
- Vault.write overwrite old secret to new HOT 1
- Vulnerability in request library HOT 2
- Update dependencies HOT 1
- Create npm deployment CI mechanism
- Next release inquiry HOT 2
- SSL Error After Upgrading Application To Node 18 HOT 4
- Add support for KV v2 "destroy" command HOT 1
- Import error on index.d.ts HOT 2
- [Question] Generate certs
- How to create ACL Policy?
- Question - is there a way to read a versioned secret ? HOT 1
- WARNING : node-vault > postman-request > [email protected]: this library is no longer supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-vault.