搜索分类、插件与代码仓

插件详情v2.0.0

aws_sts_api

AWS 安全令牌服务的 AWS API 客户端(由 SDK API 规范生成)。

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

安装插件

flutter pub add aws_sts_api

插件介绍

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

一个 Flutter/Dart 包,提供 AWS 安全令牌服务 (STS) 的客户端,可为 AWS 资源生成安全的临时凭证。基于官方 AWS SDK API 规范构建,支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。该包通过标准化的 STS 操作(如 AssumeRole 和 GetSessionToken)简化与 AWS 的集成,处理身份验证和会话管理。适用于需要联合访问或跨账户权限的应用程序。

适合场景

  • 临时AWS凭据生成
  • 联合用户认证
  • 跨账户访问委托
  • 多环境应用中的安全资源访问
  • 无服务器后端集成

主要特点

  • 平台无关支持
  • 源自官方 AWS API 规范
  • 安全的会话令牌处理
  • 全面的STS操作覆盖
  • 与 AWS 服务的轻松集成

适合对象

  • 需要临时 AWS 凭据的应用程序
  • 使用 AWS IAM 角色的开发人员
  • 具有 AWS 后端访问权限的移动和 Web 应用
  • 企业级安全工作流程
  • 需要 AWS 联合的项目

使用建议

  • 需要正确的 AWS IAM 配置
  • 依赖网络连接进行STS调用
  • 可能需要额外的错误处理来应对令牌过期
  • 不适用于长期持久凭据
  • 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

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。