HashiCorp HCVA0-003 Question Answer
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
}
}

