Service.Secrets Property

Definition

Represents a collection of secret references used by the service.

[YamlDotNet.Serialization.YamlMember(Alias="secrets", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.List<Aspire.Hosting.Docker.Resources.ServiceNodes.SecretReference> Secrets { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="secrets", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Secrets : System.Collections.Generic.List<Aspire.Hosting.Docker.Resources.ServiceNodes.SecretReference> with get, set
Public Property Secrets As List(Of SecretReference)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

Each entry in the collection refers to a specific secret that is utilized by the service, typically for managing sensitive information in a secure manner (e.g., credentials, tokens).

Applies to