Curl command for listing/reading all secrets (in memory)

I am trying to list and read all secrets from our accounts to keep it in memory so that I can push it to AWS secrets Manager and somehow I can’t find a way even to list all secrets from the vault account.
I tried to read the documentation and found nothing. Any inputs here fellas… Will be appreciated

Vikram Y