6 writes to SecretKey
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
3731
envVar.
SecretKey
= secretKey;
Aspire.Hosting.Radius.Tests (5)
Publishing\ContainerSecretEnvironmentTests.cs (5)
387
}, opts => opts.Containers[0].Env["PW"].Value!.
SecretKey
= "not-a-key"));
413
opts.Containers[0].Env["PW"].Value!.
SecretKey
= "extra-key";
484
}, opts => opts.Containers[0].Env["ADDED"] = new ContainerEnvVarConstruct {
SecretKey
= "some-key" }));
505
SecretKey
= "some-key",
527
SecretKey
= "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)
1090
if (IsBicepExpression(reference.EnvVar.
SecretKey
) ||
1091
RenderBicepLiteral(reference.EnvVar.
SecretKey
) is not { } currentSecretKey)
5085
/// and <see cref="ContainerEnvVarConstruct.
SecretKey
"/> are all public and independently
5115
var hasSecretKey = RenderBicepValue(envVar.
SecretKey
) is not null;
5169
if (!IsBicepExpression(envVar.
SecretKey
) &&
5170
RenderBicepLiteral(envVar.
SecretKey
) is { } literalSecretKey &&