HashiCorp Certified: Vault Associate (003)Exam HCVA0-003 Question # 62 Topic 7 Discussion

HashiCorp Certified: Vault Associate (003)Exam HCVA0-003 Question # 62 Topic 7 Discussion

HCVA0-003 Exam Topic 7 Question 62 Discussion:
Question #: 62
Topic #: 7

You are using the Vault API to test authentication before modifying your CI/CD pipeline to properly authenticate to Vault. You manually authenticate to Vault and receive the response below. Based on the provided options, which of the following are true? (Select four)

    $ curl \

    --request POST \

    --data @payload.json \

    https://vault.krausen.com:8200/v1/auth/userpass/login/bryan.krausen | jq

     

    *******************************************************************************

    ******* RESPONSE BELOW ********************************************************

    *******************************************************************************

     

    {

    "request_id": "f758e8da-11b6-8341-d404-56f0c370a7fa",

    "lease_id": "",

    "renewable": false,

    "lease_duration": 0,

    "data": null,

    "wrap_info": null,

    "warnings": null,

    "auth": {

    "client_token": "hvs.CbzCNJCVWt63jyzyaJakgDwz",

    "accessor": "rffwXzKFcxvaQi6Vgo8tY4Lt",

    "policies": [

    "training",

    "default"

    ],

    "token_policies": [

    "training",

    "default"

    ],

    "metadata": {

    "username": "bryan.krausen"

    },

    "lease_duration": 84600,

    "renewable": true,

    "entity_id": "f1795f6a-c576-d619-b2d5-74c0aee08edb",

    "token_type": "service",

    "orphan": true

    }

    }


A.

The token required to retrieve a secret is hvs.CbzCNJCVWt63jyzyaJakgDwz


B.

The returned token is a batch token


C.

The user needs to retrieve .auth.client_token in order to perform other actions


D.

The accessor will be used to authenticate to Vault to retrieve secrets


E.

The user is using the userpass auth method


F.

The user’s password is stored in a file named payload.json


Get Premium HCVA0-003 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.