HashiCorp Related Exams
VA-002-P Exam
What does the command terraform fmt do?
You want to encrypt a credit card number using the transit secrets engine. You enter the following command and receive an error. What can you do to ensure that the credit card number is properly encrypted and the ciphertext is returned?
1. $ vault write -format=json transit/encrypt/creditcards plaintext="1234 5678 9101 1121"
2. Error writing data to transit/encrypt/orders: Error making API request.
3.
4. URL: PUT
5. Code: 400. Errors:
6.
7. * illegal base64 data at input byte 4