Search documentation of phoenix_kit

# PhoenixKitWeb.Components.Core.AWSCredentialsVerify (phoenix_kit v1.6.19)

View Source

AWS Credentials Verification Component.

A component for verifying AWS credentials with real-time feedback. Provides validation interface for Access Key ID, Secret Access Key, and Region.

## Features

- Real-time credential validation
- Loading states and visual feedback
- Detailed error messages
- Integration with AWS region selector
- Success status display with account information

## Usage

    <.aws_credentials_verify
      access_key_id={@aws_settings.access_key_id}
      secret_access_key={@aws_settings.secret_access_key}
      region={@aws_settings.region}
      verifying={@verifying_credentials}
      verified={@credential_verification_status}
      message={@credential_verification_message}
      phx-click="verify_aws_credentials"
      disabled={@verifying_credentials or saving}
    />

# Summary

## Functions

aws_credentials_verify(assigns)

# Functions

# aws_credentials_verify(assigns)

## Attributes

- `access_key_id` (`:string`) (required)
- `secret_access_key` (`:string`) (required)
- `region` (`:string`) (required)
- `verifying` (`:boolean`) - Defaults to `false`.
- `verified` (`:atom`) - Defaults to `:pending`. Must be one of `:pending`, `:success`, or `:error`.
- `message` (`:string`) - Defaults to `""`.
- `disabled` (`:boolean`) - Defaults to `false`.
- `phx_click` (`:string`) (required)
- `class` (`:string`) - Defaults to `""`.
- `permissions` (`:map`) - Defaults to `%{}`.