Skip to content
Docs Try Aspire

IUserSecretsManager Properties

Interface Properties 2 members
Defines an interface for managing user secrets with support for read and write operations.
FilePath Section titled FilePath abstract string
Gets the path to the user secrets file.
public abstract string FilePath { get; }
IsAvailable Section titled IsAvailable abstract bool
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.