private void GetAndWriteSecrets(string vaultName)
{
var options = new KeyVaultObjectFilterOptions
{
VaultName = vaultName,
NextLink = null
};
do
{
WriteObject(DataServiceClient.GetSecrets(options), true);
} while (!string.IsNullOrEmpty(options.NextLink));
}