RadiusSecretStoreDataBuilder Methods
ClassMethods1 member
Builds the inline
data map for a secret store declared with WithData(...) . Add(string, IResourceBuilder<ParameterResource>, RadiusSecretStoreEncoding?) Section titled Add(string, IResourceBuilder<ParameterResource>, RadiusSecretStoreEncoding?)Radius Binds a data key to a secret parameter. The parameter MUST be secret (
secret: true ); a non-secret parameter is rejected at the validation gate ( ASPIRERADIUS042). public sealed class RadiusSecretStoreDataBuilder{ public RadiusSecretStoreDataBuilder Add( string key, IResourceBuilder<ParameterResource> parameter, RadiusSecretStoreEncoding? encoding = null) { // ... }}Parameters
keystringThe data key (non-empty). Must be a valid Kubernetes Secret key.parameterIResourceBuilder<ParameterResource> The secret parameter supplying the value.encodingRadiusReturns
RadiusSecretStoreDataBuilder The same data builder for chaining.Exceptions
ArgumentExceptionThe key is empty/whitespace or not a valid Kubernetes Secret key ( ASPIRERADIUS067).InvalidOperationExceptionThe key was already declared ( ASPIRERADIUS043).