搜索插件、代码仓与 APP 分类

插件详情v0.0.2

aws_credential_providers

用于从不同来源解析 AWS 凭据的凭据提供程序工具。与 aws_xxx_api 包一起使用。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
67
喜欢数
2
Pub 分数
130

安装插件

flutter pub add aws_credential_providers

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter/Dart 包,提供从多个来源(如环境变量、IAM 角色和配置文件)解析 AWS 凭证的实用工具。专为与其他 aws_xxx_api 包无缝协作而设计,简化了在不同平台上的安全访问 AWS 服务。该包支持 Android、iOS、Web、macOS、Windows 和 Linux,可在跨平台应用中实现一致的凭证管理。它抽象了凭证检索的复杂性,使集成 AWS 功能到 Flutter 应用变得更加简单,无需手动处理认证细节。

适合场景

  • 在跨平台 Flutter 应用中集成 AWS 服务
  • 从环境变量自动获取凭据
  • 在无服务器环境中使用 IAM 角色
  • 在CI/CD流水线中管理AWS身份验证
  • 保护对 AWS S3、DynamoDB 和 Lambda 的访问
  • 在运行时启用动态凭据解析

主要特点

  • 支持多种凭证源
  • 跨平台兼容性
  • 与 aws_xxx_api 包的无缝集成
  • 自动在凭证提供者之间回退
  • 轻量且无依赖
  • 可通过环境或代码配置

适合对象

  • 使用 AWS 后端服务构建 Flutter 应用的开发者
  • 在多环境部署中使用 AWS 的团队
  • 需要安全且动态的AWS身份验证的应用程序
  • 针对移动、网页和桌面平台的项目
  • 需要自动化AWS访问的CI/CD工作流程

使用建议

  • 需要在目标环境中正确设置 AWS
  • 环境变量必须正确配置
  • 不适用于独立凭据存储
  • 依赖于与 aws_xxx_api 包的正确使用
  • 可能需要根据 AWS 服务额外的权限
  • 仅限凭据解析——不直接处理AWS服务调用

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

High-level APIs for Amazon Web Services (AWS) in Dart

This repository contains a single Dart package, aws_client, which bundles auto-generated clients for all supported AWS APIs together with the shared runtime, DynamoDB document client and credential providers.

  • aws_client — the published package with all AWS API clients
  • Code generator — generates aws_client from the AWS SDK for JavaScript API models

Development

Generate the APIs

Generated sources are checked into the repository. To regenerate them, run the following command with the working directory set to the generator folder:

dart bin/generate.dart generate

This downloads the JSON API definitions (if needed) and regenerates the aws_client package and its protocol conformance test suite. See the generator README for more options.

TODO

  • Implement EC2 protocol

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目

暂无相关数据。