IUserSecretsManager
Interfacenet10.0
Defines an interface for managing user secrets with support for read and write operations.
namespace Aspire.Hosting;
public interface IUserSecretsManager{ // ...}6 members
Properties2
Section titled PropertiesView all properties
Methods4
Section titled Methods Gets a secret value if it exists in configuration, or sets it using the value generator if it doesn't.
Task Saves state to user secrets asynchronously (for deployment state manager). If multiple callers save state concurrently, the last write wins.
bool Attempts to set a user secret value synchronously.