ExamGecko
Question list
Search
Search

Question 39 - Vault Associate 002 discussion

Report
Export

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.
Answers
A.
B.
Answers
B.
C.
Answers
C.
D.
Answers
D.
Suggested answer: C

Explanation:

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

asked 18/09/2024
victoria nagy
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first