Skip to content
DocsTry Aspire
DocsTry

IUserSecretsManager Properties

InterfaceProperties2 members
Defines an interface for managing user secrets with support for read and write operations.
FilePathSection titled FilePathabstractstring
Gets the path to the user secrets file.
public abstract string FilePath { get; }
IsAvailableSection titled IsAvailableabstractbool
Gets a value indicating whether user secrets are available.
public abstract bool IsAvailable { get; }
Returns true if the project has a user secrets ID configured; otherwise, false.