vault write --format=json auth/approle/login ...
does not return auth.entity_id
field
#6806
Milestone
vault write --format=json auth/approle/login ...
does not return auth.entity_id
field
#6806
Describe the bug
vault write --format=json auth/approle/login role_id=<role_id> secret_id=<secret_id>
does not returnauth.entity_id
whereascurl -X POST ... $VAULT_ADDR/v1/auth/approle/login
does.To Reproduce
vault
to login with yourrole_id
andsecret_id
as follows:entity_id
field.curl
to directly send a request for REST APIentity_id
Expected behavior
entity_id
field is included in the output of thevault write --format=json auth/approle/login ...
too.Environment:
vault status
):Version 1.1.2
vault version
):Vault v1.1.2 ('0082501623c0b704b87b1fbc84c2d725994bac54')
Vault server configuration file(s):
Additional context
Otherwise, getting the entity id of an approle is not possible from the
vault
cli (automatically in a script) as far as I can see.The text was updated successfully, but these errors were encountered: