Steps to reproduce
- Create a Radius.Security/secrets resource containing registry credentials.
- Create a Radius.Core/bicepConfig (or Radius.Core/terraformConfig) that references that secret for registryAuthentications/basicAuth.
- Apply the configuration (or run the functional test that references the config).
- Observe that the config is rejected or the secret reference is not accepted.
Example/test data that currently works (uses Applications.Core/secretStores):
Observed behavior
Radius.Core/bicepConfigs and Radius.Core/terraformConfigs accept Applications.Core/secretStores for registryAuthentications/basicAuth secret references, but attempts to reference Radius.Security/secrets are rejected or ignored. Functional test data in the repository uses Applications.Core/secretStores (see link above) and succeeds.
Desired behavior
Allow Radius.Security/secrets to be referenced by Radius.Core/bicepConfigs and Radius.Core/terraformConfigs as an equivalent secret resource. Additionally, Radius.Core/bicepConfigs and Radius.Core/terraformConfigs should be compatible with all the new extensibility architecture resources, including Radius.Core/applications, Radius.Core/environments, Radius.Security/secrets, etc.
Workaround
Workaround: Use Applications.Core/secretStores for registry secrets (this is what the current functional tests use).
rad Version
0.58.0
Operating system
No response
Additional context
No response
Steps to reproduce
Example/test data that currently works (uses Applications.Core/secretStores):
https://github.com/radius-project/radius/blob/6ec9c74569057b24aaa4ff8bd5326df63647af91/test/functional-portable/dynamicrp/noncloud/resources/testdata/bicepconfig-test.bicep
Observed behavior
Radius.Core/bicepConfigs and Radius.Core/terraformConfigs accept Applications.Core/secretStores for registryAuthentications/basicAuth secret references, but attempts to reference Radius.Security/secrets are rejected or ignored. Functional test data in the repository uses Applications.Core/secretStores (see link above) and succeeds.
Desired behavior
Allow Radius.Security/secrets to be referenced by Radius.Core/bicepConfigs and Radius.Core/terraformConfigs as an equivalent secret resource. Additionally, Radius.Core/bicepConfigs and Radius.Core/terraformConfigs should be compatible with all the new extensibility architecture resources, including Radius.Core/applications, Radius.Core/environments, Radius.Security/secrets, etc.
Workaround
Workaround: Use Applications.Core/secretStores for registry secrets (this is what the current functional tests use).
rad Version
0.58.0
Operating system
No response
Additional context
No response