Skip to content

set KvV2WriteRequest data as required to match spec - #259

Open
emilien-puget wants to merge 1 commit into
hashicorp:mainfrom
emilien-puget:fix_write_empty_secret
Open

set KvV2WriteRequest data as required to match spec#259
emilien-puget wants to merge 1 commit into
hashicorp:mainfrom
emilien-puget:fix_write_empty_secret

Conversation

@emilien-puget

Copy link
Copy Markdown

Description

data is a required field as per this documentation https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v2#create-update-secret

Resolves # (issue)

How has this been tested?

  • write secret with data to add keys
  • write secret without data to remove all keys

@emilien-puget
emilien-puget requested a review from a team as a code owner March 27, 2024 16:36
@hashicorp-cla

hashicorp-cla commented Mar 27, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting data of KvV2WriteRequest empty yields a 400

2 participants