Service.Secrets 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.
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).