6 writes to SecretKey
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
3733envVar.SecretKey = secretKey;
Aspire.Hosting.Radius.Tests (5)
Publishing\ContainerSecretEnvironmentTests.cs (5)
387}, opts => opts.Containers[0].Env["PW"].Value!.SecretKey = "not-a-key")); 413opts.Containers[0].Env["PW"].Value!.SecretKey = "extra-key"; 484}, opts => opts.Containers[0].Env["ADDED"] = new ContainerEnvVarConstruct { SecretKey = "some-key" })); 505SecretKey = "some-key", 527SecretKey = "bad/key",
8 references to SecretKey
Aspire.Hosting.Radius (8)
Publishing\Constructs\ContainerEnvVarConstruct.cs (2)
19/// <see cref="SecretName"/>/<see cref="SecretKey"/> pair, never both. 74_secretKey = DefineProperty<string>(nameof(SecretKey), ["valueFrom", "secretKeyRef", "key"]);
Publishing\RadiusInfrastructureBuilder.cs (6)
1092if (IsBicepExpression(reference.EnvVar.SecretKey) || 1093RenderBicepLiteral(reference.EnvVar.SecretKey) is not { } currentSecretKey) 5104/// and <see cref="ContainerEnvVarConstruct.SecretKey"/> are all public and independently 5134var hasSecretKey = RenderBicepValue(envVar.SecretKey) is not null; 5188if (!IsBicepExpression(envVar.SecretKey) && 5189RenderBicepLiteral(envVar.SecretKey) is { } literalSecretKey &&