diff --git a/pkg/cli/cmd/credential/credential.go b/pkg/cli/cmd/credential/credential.go index f8f40e4bc7..db10a4efec 100644 --- a/pkg/cli/cmd/credential/credential.go +++ b/pkg/cli/cmd/credential/credential.go @@ -47,7 +47,7 @@ rad credential register azure sp --client-id --client-secret --tenant-id # Register (Add or update) cloud provider credential for AWS with access key authentication. rad credential register aws access-key --access-key-id --secret-access-key -# Register (Add or update) cloud provider credential for AWS with IRSA. +# Register (Add or update) cloud provider credential for AWS with IRSA (IAM Roles for Service Accounts). rad credential register aws irsa --iam-role # Show cloud provider credential details for Azure diff --git a/pkg/cli/cmd/credential/register/aws/accesskey/accesskey.go b/pkg/cli/cmd/credential/register/aws/accesskey/accesskey.go index e4385525ff..29ce5ab6b7 100644 --- a/pkg/cli/cmd/credential/register/aws/accesskey/accesskey.go +++ b/pkg/cli/cmd/credential/register/aws/accesskey/accesskey.go @@ -135,9 +135,8 @@ func (r *Runner) Validate(cmd *cobra.Command, args []string) error { // Run runs the `rad credential register aws access-key` command. // -// Run() registers an AWS credential with the given context and workspace, and returns an error if unsuccessful. +// Run registers an AWS credential with the given context and workspace, and returns an error if unsuccessful. func (r *Runner) Run(ctx context.Context) error { - r.Output.LogInfo("Registering credential for %q cloud provider in Radius installation %q...", "aws", r.Workspace.FmtConnection()) client, err := r.ConnectionFactory.CreateCredentialManagementClient(ctx, *r.Workspace) if err != nil { diff --git a/pkg/cli/cmd/credential/register/register.go b/pkg/cli/cmd/credential/register/register.go index 72d41b6e30..36ec9fcb98 100644 --- a/pkg/cli/cmd/credential/register/register.go +++ b/pkg/cli/cmd/credential/register/register.go @@ -41,8 +41,8 @@ rad credential register azure sp --client-id --client-secret --tenant-id # Register (Add or update) cloud provider credential for AWS with access key authentication. rad credential register aws access-key --access-key-id --secret-access-key -# Register (Add or update) cloud provider credential for AWS with IRSA. -rad credential register aws irsa --iam-role +# Register (Add or update) cloud provider credential for AWS with IRSA (IAM Roles for service Accounts). +rad credential register aws irsa --iam-role `, }