Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

Secret

Classsealednet10.0
📦 Aspire.Hosting.Docker v13.6.0
Represents a Secret object in a Docker Compose configuration file.
namespace Aspire.Hosting.Docker.Resources.ComposeNodes;
public sealed class Secret
{
// ...
}
A Secret object is used to define sensitive information to be shared with containers, such as passwords, keys, or certificates. These secrets can either be externally managed or provided locally from a specific file.
View all constructors
View all properties