15 references to GetSecretsPathFromSecretsId
Aspire.Hosting (1)
src\Shared\SecretsStore.cs (1)
24_secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
Aspire.Hosting.Tests (2)
UserSecretsParameterDefaultTests.cs (2)
53var userSecretsPath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId); 99var userSecretsPath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
dotnet-user-jwts (2)
Helpers\JwtStore.cs (1)
17_filePath = Path.Combine(Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(userSecretsId)), FileName);
Helpers\SigningKeysHandler.cs (1)
62var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
30_secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
UserJwtsTestFixture.cs (2)
70Directory.CreateDirectory(Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(TestSecretsId))); 90var secretsDir = Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(TestSecretsId));
Microsoft.Extensions.SecretManager.Tools.Tests (7)
SecretManagerTests.cs (5)
176Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Secrets file path {0}.", PathHelper.GetSecretsPathFromSecretsId(secretId)), _console.GetOutput()); 183Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Secrets file path {0}.", PathHelper.GetSecretsPathFromSecretsId(secretId)), _console.GetOutput()); 217var secretsFile = PathHelper.GetSecretsPathFromSecretsId(secretId); 230var secretsFile = PathHelper.GetSecretsPathFromSecretsId(id); 246var secretsFile = PathHelper.GetSecretsPathFromSecretsId(secretId);
UserSecretsTestFixture.cs (2)
19_disposables.Push(() => TryDelete(Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(TestSecretsId)))); 72var secretsDir = Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(id));