AzureRedisCacheResource.Password Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the password for the Redis server when running as a container.
public Aspire.Hosting.ApplicationModel.ReferenceExpression? Password { get; }
member this.Password : Aspire.Hosting.ApplicationModel.ReferenceExpression
Public ReadOnly Property Password As ReferenceExpression
Property Value
Remarks
This property returns null when running in Azure mode, as Redis access is handled via connection strings. When running as a container, it resolves to the password parameter value if one exists.