aws-sso-login
使用 SSO 认证 AWS CLI
当 SSO 会话过期时,AWS CLI 工作通常会中断。此技能会为所选配置文件引导安全的 SSO 登录流程,并确认会话已准备就绪。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "aws-sso-login" from https://skillstore.io/skills/daisuke897-aws-sso-login.md and its manifest at https://skillstore.io/api/skills/daisuke897-aws-sso-login/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“aws-sso-login”。 Authenticate with the project AWS SSO profile.
预期结果:
如果配置文件未在文档中记录,助手会询问配置文件,启动 AWS SSO 登录,并等待浏览器认证完成。
正在使用“aws-sso-login”。 My AWS CLI session expired before deployment.
预期结果:
助手会为所选配置文件续订 SSO 会话,并确认 AWS CLI 命令可以继续运行。
正在使用“aws-sso-login”。 I am working in a headless terminal.
预期结果:
助手会使用 no-browser SSO 流程,并告知用户手动打开提供的认证 URL。
安全审计
安全The static findings are Markdown formatting, documented AWS CLI examples, and standard AWS SSO configuration references. No prompt injection, credential exfiltration, hidden file access, or malicious intent was found in SKILL.md.
风险因素
⚙️ 外部命令 (9)
📁 文件系统访问 (2)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/daisuke897-aws-sso-login/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/daisuke897-aws-sso-login?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/daisuke897-aws-sso-login?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/daisuke897-aws-sso-login/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/daisuke897-aws-sso-login.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
Daisuke897. (2026). aws-sso-login security audit report (audit version 10) [Author version unspecified]. Skillstore. https://skillstore.io/skills/daisuke897-aws-sso-login/audits/10BibTeX 引用
@techreport{daisuke897-daisuke897-aws-sso-login-2026,
author = {Daisuke897},
title = {aws-sso-login security audit report (audit version 10)},
institution = {Skillstore},
year = {2026},
number = {10},
url = {https://skillstore.io/skills/daisuke897-aws-sso-login/audits/10},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "aws-sso-login security audit report (audit version 10)"
version: "unspecified"
type: report
authors:
- name: "Daisuke897"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/daisuke897-aws-sso-login/audits/10"
identifiers:
- type: other
value: "skillstore:daisuke897-aws-sso-login:audit:10"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
续订已过期的 AWS CLI 会话
在运行依赖 AWS CLI 访问权限的部署、基础设施或诊断命令之前重新认证。
准备项目专用的 AWS 配置文件
使用项目文档中记录的配置文件,确保云命令针对预期的账户和权限集运行。
在代入角色前完成认证
在使用后续需要活动源配置文件的角色代入工作流之前完成 SSO 登录。
试试这些提示
Use the aws-sso-login skill to authenticate with the default AWS SSO profile for this project.
Use the aws-sso-login skill, but ask me which AWS CLI profile to use if the project does not define one.
Authenticate with AWS SSO for the project profile, then verify that the AWS CLI identity is available.
Run AWS SSO login for the required source profile so the next role-assumption step can use an active session.
最佳实践
- 当项目未定义默认配置文件时,在认证前确认配置文件名称。
- 为所选配置文件使用最小权限的 AWS SSO 权限集。
- 在运行会更改账户状态的操作之前验证已认证的身份。
避免
- 当有多个账户可用时,不要猜测 AWS 配置文件。
- 不要将 SSO 登录视为运行破坏性云命令的许可。
- 不要将 SSO 缓存文件或 AWS 配置复制到共享日志中。
常见问题
此技能会帮我配置 AWS SSO 吗?
它会打开浏览器吗?
它能自动选择正确的 AWS 配置文件吗?
它会存储 AWS 凭证吗?
会话会持续多久?
我可以在代入 AWS 角色之前使用它吗?
开发者详情
作者
Daisuke897许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
7db9b9f06e0ab79c575b58bc48c4d8dc9849f424
维护新鲜度
2026/7/23
使用量
5 次下载 · 183 次浏览
文件结构
📄 SKILL.md