22 references to WithSecretStore
Aspire.Hosting.Radius.Tests (22)
Publishing\ExistingSecretStoreBicepTests.cs (2)
35env.WithSecretStore("tls-cert", RadiusSecretStoreType.Certificate, s => 51env.WithSecretStore("tls-cert", RadiusSecretStoreType.Certificate, s =>
Publishing\InlineSecretStoreBicepTests.cs (2)
36env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s => 59env.WithSecretStore("tls", RadiusSecretStoreType.Certificate, s =>
Publishing\PostCallbackSecretValidationTests.cs (6)
793configureEnvironment: radius => radius.WithSecretStore( 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")))); 856radius => radius.WithSecretStore(
Publishing\SealedSecretPublishTests.cs (5)
57env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s => 92env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => 116env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => 131env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s => 205env.WithSecretStore(storeName, RadiusSecretStoreType.BasicAuthentication, s =>
Publishing\SecretStoreConsumerBicepTests.cs (1)
53env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => s.WithData(d => d.Add("k", pass)));
Secrets\AddRadiusSecretStoreTests.cs (2)
39var returned = env.WithSecretStore("api-key", RadiusSecretStoreType.Generic, s => 58env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s =>
Secrets\SecretStoreValidationTests.cs (4)
409env.WithSecretStore("s", RadiusSecretStoreType.Generic, s => 435env.WithSecretStore("radius", RadiusSecretStoreType.Generic, s => 456dev.WithSecretStore("radius", RadiusSecretStoreType.Generic, s => 458prod.WithSecretStore("radiusenv", RadiusSecretStoreType.Generic, s =>