Skip to content

Use root token always get 404 response code #201

Description

@FIRECONTER

I use the postman with root token and it will correct create user with specified policies and create secret in vault.

but when I use this nodejs vault client I always get 404 response code even I use the root token to write some thing

const options = {
    apiVersion: 'v1',
    endpoint: 'http://localhost:8200',
    token: '1234'
}

const vault = require("node-vault")(options);
...

vault.write(key, value);


and always get

Status 404
    at handleVaultResponse
...

vault in my computer is runs as docker container, and the version is https://hub.docker.com/layers/vault/library/vault/1.10.3/images/sha256-74a6f9588b4d1c548ea4bd8731fdd04d0356f3d607f2e1bc9408f6c75e78d85c?context=explore

client version in nodejs project

"node-vault": "^0.9.22"

so I want to know that is this client out of maintenance?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions