Should we have two methods for fetching secrets from Key Vault? GetSecretsAsync | GetSecretsNextAsync
I am using Key Vault Client Library to pull all secrets from Key Vault. I used GetSecretsAsync(maxresults: 25). It yields pagination link to iterate on next set of secrets.
But I could not browse Key Vault using same GetSecretsAsync(vaultUri: NextPageLink), it did not work.
After hours of browsing, I found source samples from Key Vault itself which is almost buried in that page. It says we need to use GetSecretsNextAsync().
On my understanding, we can have same method GetSecretsAsync() for iterating thru secrets rather than a couple of methods.
For documentation, is it possible to have sample code snippets in the method signature (GetSecretsAsync) of docs.microsoft.com as they used to do in msdn.microsoft.com?
