RadiusSecuritySecretConstruct
Radius.Security/secrets resource in the Bicep AST — the Radius.* UDT replacement for Applications.Core/secretStores . namespace Aspire.Hosting.Radius.Publishing.Constructs;
public sealed class RadiusSecuritySecretConstruct : Azure.Provisioning.Primitives.ProvisionableResource{ // ...}Remarks
Section titled Remarks Unlike the legacy secret-store type, which is scoped by exactly one of properties. / properties., this type requires Radius and treats Radius as optional. data is required, so there is no "reference an existing cluster Secret" mode: every entry carries its own value.
This construct is the canonical secret primitive for the Radius. surface, used for both kinds of secret the publisher emits: credentials a UDT backing resource consumes by resource ID (for example the RabbitMQ properties.), and credential-bearing container environment variables, which are written here and referenced from the container's env block so the resolved value never reaches the Deployment spec.
Constructors1
Section titled ConstructorsRadiusSecuritySecretConstruct with the given Bicep identifier.Properties5
Section titled PropertiesApplicationId get; setBicepValue<string> properties.application ).Dataget; setBicepDictionary<RadiusSecuritySecretDataEntryConstruct> data map keyed by secret key name.EnvironmentId get; setBicepValue<string> properties.environment ). Required by the type.