az lab secret

Commands to manage secrets of a DevTest Lab.

Commands

az lab secret delete Delete secret.
az lab secret list List secrets in a given user profile.
az lab secret set Sets a secret in the DevTest 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=.

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=.

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

Sets a secret in the DevTest 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=.

--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=.

Optional Parameters

--expand

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