Ansight.Tools.SecureStorage
1.6.3
dotnet add package Ansight.Tools.SecureStorage --version 1.6.3
NuGet\Install-Package Ansight.Tools.SecureStorage -Version 1.6.3
<PackageReference Include="Ansight.Tools.SecureStorage" Version="1.6.3" />
<PackageVersion Include="Ansight.Tools.SecureStorage" Version="1.6.3" />
<PackageReference Include="Ansight.Tools.SecureStorage" />
paket add Ansight.Tools.SecureStorage --version 1.6.3
#r "nuget: Ansight.Tools.SecureStorage, 1.6.3"
#:package Ansight.Tools.SecureStorage@1.6.3
#addin nuget:?package=Ansight.Tools.SecureStorage&version=1.6.3
#tool nuget:?package=Ansight.Tools.SecureStorage&version=1.6.3
Ansight.Tools.SecureStorage
Grouped secure-storage tool registrations for the Ansight .NET SDK.
License
The Ansight SDK is source-available software under the PolyForm Shield 1.0.0. It permits use, modification and redistribution for purposes allowed by the licence, which excludes providing competing products. Local development features require no Ansight account or subscription.
Registered tools:
secure.get_valuesecure.set_valuesecure.remove_key
Usage
using Ansight;
using Ansight.Tools.SecureStorage;
var options = Options.CreateBuilder()
.WithSecureStorageTools(secure =>
{
secure.WithStorageIdentifier("MyApp");
secure.AllowKeys("session_token", "refresh_token");
})
.WithAllToolAccess()
.Build();
All secure-storage tools use ToolPolicy.Critical, including reads, because
they expose or mutate secrets. Use WithAllToolAccess() or a custom
critical-enabled ToolGuard to execute them.
When using the Ansight or Ansight.Maui all-in-one packages, configure secure-storage access inside the setup callback:
using Ansight;
using Ansight.Tools.SecureStorage;
var options = Options.CreateBuilder()
.WithAnsightSdk(ansight =>
{
ansight.WithSecureStorageTools(secure =>
{
secure.WithStorageIdentifier("MyApp");
secure.AllowKeyPrefix("ansight.secure.");
});
})
.Build();
Use the same WithSecureStorageTools(...) call inside UseAnsight<App>(...) for MAUI. The all-in-one setup skips the default secure-storage registration when the callback registers the suite, so the configured storage identifier and key allow-list are used.
Restrictions
Secure-storage access is deny-all by default. You must explicitly allow keys with:
AllowKey(...)/AllowKeys(...)AllowKeyPrefix(...)/AllowKeyPrefixes(...)
Storage selection is configured at registration time:
WithStorageIdentifier(...)sets both the Android encrypted-preferences name and Apple Keychain service.WithAndroidStore(...)overrides the Android encrypted-preferences name.WithAppleService(...)overrides the Apple Keychain service.
These tools are intended for local debugging only and may expose highly sensitive application data.
Build-time remote tool policy
Projects that reference this package are covered by AnsightRemoteToolsPolicy. The default AllowedWithWarnings policy logs detected tool type and assembly details and emits a build warning when remote tools are included. Because this package contains remote tools, Disallowed only succeeds when the package is omitted from that build, for example with Debug-only package references. Use Allowed to bypass remote tool scanning and warnings. Set AnsightLogRemoteTools=false to suppress the detected-tool list.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Ansight.Core (>= 1.6.3)
-
net9.0-android35.0
- Ansight.Core (>= 1.6.3)
- Xamarin.AndroidX.Security.SecurityCrypto (>= 1.1.0.4-alpha07)
-
net9.0-ios18.0
- Ansight.Core (>= 1.6.3)
-
net9.0-maccatalyst18.0
- Ansight.Core (>= 1.6.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ansight.Tools.SecureStorage:
| Package | Downloads |
|---|---|
|
Ansight
.NET and MAUI SDK for Ansight: runtime evidence from your app for coding agents. Screenshots, visual trees, logs, network, telemetry, and app state, with pairing and remote tools included. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.3 | 46 | 10/1/2026 |
| 1.6.2 | 55 | 10/1/2026 |
| 1.6.1 | 130 | 9/23/2026 |
| 1.6.0 | 126 | 9/17/2026 |
| 1.5.0 | 117 | 9/14/2026 |
| 1.4.0 | 144 | 9/7/2026 |
| 1.4.0-preview.5 | 109 | 8/26/2026 |
| 1.4.0-preview.3 | 80 | 8/25/2026 |
| 1.4.0-preview.1 | 104 | 8/24/2026 |
| 1.3.0-preview.12 | 86 | 8/24/2026 |
| 1.3.0-preview.11 | 80 | 8/23/2026 |
| 1.3.0-preview.10 | 83 | 8/21/2026 |
| 1.3.0-preview.9 | 91 | 8/20/2026 |
| 1.3.0-preview.8 | 88 | 8/20/2026 |
| 1.3.0-preview.6 | 88 | 8/19/2026 |
| 1.3.0-preview.5 | 86 | 8/19/2026 |
| 1.3.0-preview.4 | 86 | 8/17/2026 |
| 1.3.0-preview.3 | 86 | 8/10/2026 |
| 1.3.0-preview.2 | 80 | 8/10/2026 |
| 1.3.0-preview.1 | 77 | 8/10/2026 |