你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzContainerAppSecretVolumeItemObject
Create an in-memory object for SecretVolumeItem.
Syntax
New-AzContainerAppSecretVolumeItemObject
[-Path <String>]
[-SecretRef <String>]
[<CommonParameters>]
Description
Create an in-memory object for SecretVolumeItem.
Examples
Example 1: Create an in-memory object for SecretVolumeItem.
New-AzContainerAppSecretVolumeItemObject -Path "secretVolumePath" -SecretRef "redis-secret"
Path SecretRef
---- ---------
secretVolumePath redis-secret
Create an in-memory object for SecretVolumeItem.
Parameters
-Path
Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SecretRef
Name of the Container App secret from which to pull the secret value.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |