assume-cloudformation-role
Assume CloudFormation AWS Roles
CloudFormation work often needs short lived role credentials before stack changes can run. This skill gives Claude, Codex, and Claude Code a repeatable AWS STS workflow for preparing those credentials.
Do not auto-install this skill.
The canonical policy requires operator review before any installation action.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "assume-cloudformation-role" from https://skillstore.io/skills/daisuke897-assume-cloudformation-role.md and its manifest at https://skillstore.io/api/skills/daisuke897-assume-cloudformation-role/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "assume-cloudformation-role". Assume the CloudFormation write role with the default profile.
Expected outcome:
The assistant presents the STS assume-role command, shows how credentials are extracted, and reminds the user to remove temporary credential files.
Using "assume-cloudformation-role". Prepare credentials before updating my-stack.
Expected outcome:
- Confirms the AWS profile and role ARN.
- Provides the temporary credential setup sequence.
- Suggests verifying caller identity before the stack update.
Using "assume-cloudformation-role". Make the credential setup safer for a shared workstation.
Expected outcome:
The assistant recommends a unique temporary file, restrictive permissions, trap-based cleanup, and process-scoped environment variables.
Security Audit
CriticalThe skill intentionally runs AWS CLI and jq commands to assume a CloudFormation write role and export temporary AWS credential variables. Most backtick detections are markdown formatting false positives, but the shell command substitution, environment variable export, shared /tmp credential file, and AWS credential directory references are real security concerns that require safer handling.
Confirmed security concerns (1)
Capability review items (17)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
โ๏ธ External commands (15)
๐ Filesystem access (7)
๐ Env variables (6)
Detected Patterns
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/daisuke897-assume-cloudformation-role/audits/11?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/daisuke897-assume-cloudformation-role?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/daisuke897-assume-cloudformation-role?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/daisuke897-assume-cloudformation-role/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/daisuke897-assume-cloudformation-role.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
Daisuke897. (2026). assume-cloudformation-role security audit report (audit version 11) [Author version unspecified]. Skillstore. https://skillstore.io/skills/daisuke897-assume-cloudformation-role/audits/11BibTeX citation
@techreport{daisuke897-daisuke897-assume-cloudformation-role-2026,
author = {Daisuke897},
title = {assume-cloudformation-role security audit report (audit version 11)},
institution = {Skillstore},
year = {2026},
number = {11},
url = {https://skillstore.io/skills/daisuke897-assume-cloudformation-role/audits/11},
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: "assume-cloudformation-role security audit report (audit version 11)"
version: "unspecified"
type: report
authors:
- name: "Daisuke897"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/daisuke897-assume-cloudformation-role/audits/11"
identifiers:
- type: other
value: "skillstore:daisuke897-assume-cloudformation-role:audit:11"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Prepare deployment credentials
Assume a CloudFormation write role before creating or updating a stack from the AWS CLI.
Standardize role setup
Give a team a consistent sequence for obtaining temporary AWS credentials before stack maintenance.
Run controlled stack cleanup
Set temporary credentials before deleting a known CloudFormation stack during maintenance.
Try These Prompts
Use the assume-cloudformation-role skill with the default profile and role session name. Explain each command before I run it.
Use this skill with my AWS CLI profile named staging-admin. Keep the default role session name unless I specify another one.
Assume the CloudFormation role, then help me confirm the AWS identity before I run an update-stack command.
Adapt the assume-role workflow to avoid a predictable /tmp credential file and keep credentials scoped to one CloudFormation command.
Best Practices
- Verify the AWS account and caller identity before running stack changes.
- Use the shortest practical credential lifetime and clear environment variables after use.
- Store temporary credential files with restrictive permissions and automatic cleanup.
Avoid
- Do not reuse the hardcoded example role ARN without confirming the target account.
- Do not leave AWS_SECRET_ACCESS_KEY or AWS_SESSION_TOKEN exported after the task finishes.
- Do not write active credentials to predictable shared paths on multi-user systems.
Frequently Asked Questions
Does this skill create or update CloudFormation stacks by itself?
Which AWS permissions are required?
How long do the temporary credentials last?
Can I use a different role ARN?
Is this safe on a shared machine?
Does it require jq?
Developer Details
Author
Daisuke897License
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Repository
https://github.com/Daisuke897/dotfiles/tree/main/.github/skills/assume-cloudformation-roleRef
7db9b9f06e0ab79c575b58bc48c4d8dc9849f424
Maintenance freshness
7/18/2026
Usage
4 downloads ยท 188 views
File structure
๐ SKILL.md