76 references to Generic
Aspire.Hosting.Radius (4)
Secrets\RadiusSecretStoreType.cs (3)
62RadiusSecretStoreType.Generic => "generic", 85/// <summary>Returns the keys Radius requires for <paramref name="type"/> (empty for <see cref="RadiusSecretStoreType.Generic"/>).</summary> 112type = RadiusSecretStoreType.Generic;
Secrets\RadiusSecretStoreValidation.cs (1)
274$"(typically a '{RadiusSecretStoreType.Generic.ToRadiusTypeString()}' store). Declared keys: " +
Aspire.Hosting.Radius.Tests (72)
Publishing\PostCallbackSecretValidationTests.cs (19)
308builder.AddRadiusSecretStore("store", RadiusSecretStoreType.Generic) 329builder.AddRadiusSecretStore("store", RadiusSecretStoreType.Generic) 385builder.AddRadiusSecretStore("store", RadiusSecretStoreType.Generic) 406builder.AddRadiusSecretStore("store", RadiusSecretStoreType.Generic) 427builder.AddRadiusSecretStore("store", RadiusSecretStoreType.Generic) 446builder.AddRadiusSecretStore("store", RadiusSecretStoreType.Generic) 474builder.AddRadiusSecretStore("api-env-secret", RadiusSecretStoreType.Generic) 498builder.AddRadiusSecretStore("api-env-secret", RadiusSecretStoreType.Generic) 524builder.AddRadiusSecretStore("api-env-secret", RadiusSecretStoreType.Generic) 749builder.AddRadiusSecretStore("creds-user", RadiusSecretStoreType.Generic) 751builder.AddRadiusSecretStore("creds-password", RadiusSecretStoreType.Generic) 768builder.AddRadiusSecretStore("creds", RadiusSecretStoreType.Generic) 795RadiusSecretStoreType.Generic, 816.WithSecretStore("creds-user", RadiusSecretStoreType.Generic, s => s.WithSealedSecret(manifest, "username")) 817.WithSecretStore("creds-password", RadiusSecretStoreType.Generic, s => s.WithSealedSecret(manifest, "password"))); 835.WithSecretStore("creds-user", RadiusSecretStoreType.Generic, s => s.WithSealedSecret(first, "username")) 836.WithSecretStore("creds-password", RadiusSecretStoreType.Generic, s => s.WithSealedSecret(second, "password")))); 858RadiusSecretStoreType.Generic, 877builder.AddRadiusSecretStore("shared", RadiusSecretStoreType.Generic)
Publishing\SealedSecretPublishTests.cs (3)
73var store = builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic) 91env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => 115env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s =>
Publishing\SecretStoreConsumerBicepTests.cs (1)
52env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => s.WithData(d => d.Add("k", pass)));
Secrets\AddRadiusSecretStoreTests.cs (22)
38var returned = env.WithSecretStore("api-key", RadiusSecretStoreType.Generic, s => 98builder.AddRadiusSecretStore(invalid, RadiusSecretStoreType.Generic)); 110var store = builder.AddRadiusSecretStore(valid, RadiusSecretStoreType.Generic); 120var store = builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic) 132var store = builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic) 144var store = builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic); 154var store = builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic); 172var store = builder.AddRadiusSecretStore("tls", RadiusSecretStoreType.Generic); 184var store = builder.AddRadiusSecretStore("tls", RadiusSecretStoreType.Generic) 194var store = builder.AddRadiusSecretStore("tls", RadiusSecretStoreType.Generic); 203var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 217var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 228var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 238var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic); 252var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic); 273var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic); 283var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic); 297var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic); 311var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 335var store = builder.AddRadiusSecretStore("tls", RadiusSecretStoreType.Generic); 344var store = builder.AddRadiusSecretStore("tls", RadiusSecretStoreType.Generic); 357var store = builder.AddRadiusSecretStore("tls", RadiusSecretStoreType.Generic);
Secrets\SecretStoreConsumerTests.cs (1)
48var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic);
Secrets\SecretStoreDefaultPathTests.cs (2)
36builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic) 52builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic)
Secrets\SecretStoreValidationTests.cs (24)
91b => b.AddRadiusSecretStore("appsecrets", RadiusSecretStoreType.Generic) 109b.AddRadiusSecretStore("appsecrets", RadiusSecretStoreType.Generic) 119var store = builder.AddRadiusSecretStore("appsecrets", RadiusSecretStoreType.Generic) 157b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic); 168var store = builder.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 185b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 198b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 232builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic).WithData(d => d.Add("k", p)); 235builder.AddRadiusSecretStore("db-creds", RadiusSecretStoreType.Generic)); 246var store = b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 280var store = b.AddRadiusSecretStore("git-creds", RadiusSecretStoreType.Generic) 295var store = b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 311b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 327var store = b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 343b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 358b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 373b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 393b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 408env.WithSecretStore("s", RadiusSecretStoreType.Generic, s => 421b.AddRadiusSecretStore("s", RadiusSecretStoreType.Generic) 434env.WithSecretStore("radius", RadiusSecretStoreType.Generic, s => 436b.AddRadiusSecretStore("radiusenv", RadiusSecretStoreType.Generic) 455dev.WithSecretStore("radius", RadiusSecretStoreType.Generic, s => 457prod.WithSecretStore("radiusenv", RadiusSecretStoreType.Generic, s =>