az lab secret

Manage secrets of an Azure DevTest Lab.

Commands

az lab secret delete Delete secret.
az lab secret list List secrets in a given user profile.
az lab secret set Set a secret for a lab.
az lab secret show Get secret.

az lab secret delete

Delete secret.

az lab secret delete --lab-name
--name
--resource-group

Required Parameters

--lab-name
The name of the lab.
--name -n
The name of the secret.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

az lab secret list

List secrets in a given user profile.

az lab secret list --lab-name
--resource-group
[--expand]
[--filter]
[--orderby]
[--top]

Required Parameters

--lab-name
The name of the lab.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

Optional Parameters

--expand
Specify the $expand query. Example: 'properties($select=value)'.
--filter
The filter to apply to the operation.
--orderby
The ordering expression for the results, using OData notation.
--top
The maximum number of resources to return from the operation.

az lab secret set

Set a secret for a lab.

az lab secret set --lab-name
--name
--resource-group
--value

Required Parameters

--lab-name
Name of the lab.
--name -n
Name of the secret.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
--value
Value of the secret.

az lab secret show

Get secret.

az lab secret show --lab-name
--name
--resource-group
[--expand]

Required Parameters

--lab-name
The name of the lab.
--name -n
The name of the secret.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

Optional Parameters

--expand
Specify the $expand query. Example: 'properties($select=value)'.