Skip to content
DocsTry Aspire
DocsTry

IAwsRadiusProviderBuilder

Interfacenet10.0
📦 Aspire.Hosting.Radius v13.5.3-preview.1.26425.3
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
{
// ...
}
WithAccessKey(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.
View all methods