IAwsRadiusProviderBuilder
Interfacenet10.0
Builder surface exposed inside the
WithAwsProvider callback for selecting an AWS credential mode. Exactly one With* method must be called; a repeat call replaces the previous selection. namespace Aspire.Hosting.Radius.CloudProviders;
public interface IAwsRadiusProviderBuilder{ // ...}Methods2
Section titled MethodsWithAccessKey(IResourceBuilder<ParameterResource>, IResourceBuilder<ParameterResource>)abstract Configures an IAM access key credential. Both the access key id and secret access key values are provided via
ApplicationModel.ParameterResource s so plaintext never appears in the publish artifact. Reference them with builder.AddParameter("awsAccessKeyId", secret: true) / builder.AddParameter("awsSecretAccessKey", secret: true). WithIrsa(string)abstract Configures an IAM Roles for Service Accounts (IRSA) credential. No long-lived secret is materialized; the role is assumed at deploy time via the hosting Kubernetes cluster's OIDC provider.