6 writes to SecretKey
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
3731envVar.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)
1090if (IsBicepExpression(reference.EnvVar.SecretKey) || 1091RenderBicepLiteral(reference.EnvVar.SecretKey) is not { } currentSecretKey) 5085/// and <see cref="ContainerEnvVarConstruct.SecretKey"/> are all public and independently 5115var hasSecretKey = RenderBicepValue(envVar.SecretKey) is not null; 5169if (!IsBicepExpression(envVar.SecretKey) && 5170RenderBicepLiteral(envVar.SecretKey) is { } literalSecretKey &&