I have a question about when we configure the approle auth method of the vault, After the configuration of the approle, we need the role-id and secret-id to obtain the token and to do the further vault operations.
vault write auth/approle/role/test-role token_ttl=15m token_max_ttl=30m
vault read auth/approle/role/test-role/role-id
vault write -f auth/approle/role/test-role/secret-id
vault write auth/approle/login role_id=<role-id> secret_id=<secret-id>
Why there is not a read operation on secret-id ??
can't we just do this: vault read auth/approle/role/test-role/secret-id
Any Reason behind doing this?, and why there is a write operation on secret-id??