Comments (1)
Most HTTP clients (including web browsers) act like this. Generally the 307 or 308 codes are used to indicate that the request should be retried with the original verb and payload. (see seanmonstar/reqwest#912 for the reqwest-specific comment)
Bringing this up with Hashicorp might be best, although I expect they'll just say to use the v1
path since then your code is guaranteed not to break when upgrading Vault. Otherwise, this could be handled by disabling reqwest's redirect handling and doing it manually.
from vault-rs.
Related Issues (19)
- Vault client silently generates too-powerful tokens if vault host URL ends in a slash HOT 4
- Cannot publish to crates.io HOT 1
- Release a new version HOT 2
- TryFrom Url HOT 1
- set_secret not accepting JSON or JSON string HOT 1
- Can't read secret with key other than 'value' HOT 2
- Read secrets with key unknown ahead of time
- Can't get a kv secret outside 'secret' named engine HOT 1
- More APIs? (auth_token.create, auth_token.renew, sys.policies) HOT 7
- Evaluate replacing Reqwest with ureq HOT 1
- It should use a builder pattern to create a VaultClient
- Usage from async contexts HOT 3
- OpenSSL Error? HOT 2
- unable to get secrets on PKI / transit engine HOT 1
- Extending to manage other resources. HOT 1
- How can I use this to find the expiration time of a token?
- Complex secrets and secret metadata (e.g., lease IDs and TTLs) HOT 2
- Replace `println!` with `log` crate, and be very careful about not leaking secrets to logs (at least at `debug` and above?) HOT 4
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 vault-rs.