Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Vault-Associate Exam - Topic 5 Question 55 Discussion

A user issues the following cURL command to encrypt data using the transit engine and the Vault AP:Which payload.json file has the correct contents?A.B.C.D.
C) Option C
A) Option A
B) Option B
D) Option D

HashiCorp Vault-Associate Exam - Topic 5 Question 55 Discussion

Actual exam question for HashiCorp's Vault-Associate exam
Question #: 55
Topic #: 5
[All Vault-Associate Questions]

A user issues the following cURL command to encrypt data using the transit engine and the Vault AP:

Which payload.json file has the correct contents?

A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: C

The payload.json file that has the correct contents is C. This file contains a JSON object with a single key, ''plaintext'', and a value that is the base64-encoded string of the data to be encrypted.This is the format that the Vault API expects for the transit encrypt endpoint1. The other files are not correct because they either have the wrong key name, the wrong value format, or the wrong JSON syntax.


Encrypt Data - Transit Secrets Engine | Vault | HashiCorp Developer

Contribute your Thoughts:

0/2000 characters
Annelle
2 days ago
I recall that the payload should include the plaintext data and the key name, but I can't remember the exact format.
upvoted 0 times
...
Major
7 days ago
I think it might be option B because it looks like it has the right fields for encryption, but I could be mixing it up with another example.
upvoted 0 times
...
Dion
12 days ago
I remember we practiced a similar question about the payload structure for the transit engine, but I'm not sure which option is correct here.
upvoted 0 times
...

Save Cancel