Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

KV client- putValue() method does not support pasing token #210

Closed
dpish7 opened this issue Jan 27, 2017 · 1 comment
Closed

KV client- putValue() method does not support pasing token #210

dpish7 opened this issue Jan 27, 2017 · 1 comment

Comments

@dpish7
Copy link

dpish7 commented Jan 27, 2017

Hello,

I noticed that the KeyValueClient does not support passing a token(acl token) for a PUT to the KV store.The client does have GET methods that let you pass a token as a query option.

The client has putValue() methods with PutOptions but PutOptions currently only supports 'cas', 'acquire' and 'release'.
There is not support for consul PUT v1/kv/?token=.

Can PutOptions be updated to allow passing a token parameter as well?

@rickfast
Copy link
Owner

rickfast commented Feb 1, 2017

fixed here 4fbe6b2

@rickfast rickfast closed this as completed Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants