Microsoft.Azure.Commands.KeyVault.GetAzureKeyVaultSecret.GetAndWriteSecrets C# (CSharp) Method

GetAndWriteSecrets() private method

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