Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
For azure keyvault, using the az cli, how do I list the 10 last created secrets?
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
For azure keyvault, using the az cli, how do I list the 10 last created secrets?
- Assistant
To list the 10 last created secrets in Azure Key Vault using the Azure CLI, you can use the following command:
az keyvault secret list --vault-name <key-vault-name> --query "reverse(sort_by([].{Created:attributes.created, Name: id}, &Created))[0:10].Name" --output table This command uses the az keyvault secret list command with the --query parameter to filter the output and only show the 10 most recently created secrets.Make sure to replace with the name of your Key Vault. The command will output the list of secrets in a table format, with the most recently created secret appearing first.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.