22 references to WithSecretStore
Aspire.Hosting.Radius.Tests (22)
Publishing\ExistingSecretStoreBicepTests.cs (2)
34env.WithSecretStore("tls-cert", RadiusSecretStoreType.Certificate, s => 50env.WithSecretStore("tls-cert", RadiusSecretStoreType.Certificate, s =>
Publishing\InlineSecretStoreBicepTests.cs (2)
35env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s => 58env.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)
56env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s => 91env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => 115env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => 130env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s => 204env.WithSecretStore(storeName, RadiusSecretStoreType.BasicAuthentication, s =>
Publishing\SecretStoreConsumerBicepTests.cs (1)
52env.WithSecretStore("db-creds", RadiusSecretStoreType.Generic, s => s.WithData(d => d.Add("k", pass)));
Secrets\AddRadiusSecretStoreTests.cs (2)
38var returned = env.WithSecretStore("api-key", RadiusSecretStoreType.Generic, s => 57env.WithSecretStore("db-creds", RadiusSecretStoreType.BasicAuthentication, s =>
Secrets\SecretStoreValidationTests.cs (4)
408env.WithSecretStore("s", RadiusSecretStoreType.Generic, s => 434env.WithSecretStore("radius", RadiusSecretStoreType.Generic, s => 455dev.WithSecretStore("radius", RadiusSecretStoreType.Generic, s => 457prod.WithSecretStore("radiusenv", RadiusSecretStoreType.Generic, s =>