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 |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell