/atmos:atmos-secretsfrom atmos
Manages declared secrets in Atmos via the `atmos secret` command family. Supports AWS SSM, Secrets Manager, Vault, Azure Key Vault, GCP Secret Manager, 1Password, and SOPS backends with init, set, get, import, push, pull, shell, exec, validate, and keygen operations.
Ships in atmos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill for declared secrets, secret backends, and the atmos secret command family.
Secrets must be declared before they can be set, read, injected, or resolved with !secret.
| Need | Load |
|---|---|
| Store-backed non-secret values | atmos-stores |
YAML !secret and !store functions | atmos-yaml-functions |
| Auth identity for secret backend access | atmos-auth |
| Local Vault/OpenBao testing | atmos-emulator |
Declare secrets under component secrets.vars and keep Terraform inputs secret-aware:
components:
terraform:
app:
secrets:
vars:
DATADOG_API_KEY:
description: Datadog API key
store: prod/ssm
required: true
vars:
datadog_api_key: !secret DATADOG_API_KEY
store: and sops: can be a YAML function such as !aws.cloudformation.output <component> <stack> <Output>.
It is resolved lazily, only for the declaration a command uses, so an unresolvable selector (for example,
an undeployed producer) fails just that declaration while literal-backend siblings keep working.
atmos secret list never evaluates selectors: it shows status unresolved and a reason until --verify.
atmos secret validate fails if a sops: selector cannot be resolved, because collisions cannot be ruled out.
Supported backend families include AWS SSM, AWS Secrets Manager, HashiCorp Vault, Azure Key Vault, GCP Secret Manager, 1Password, and SOPS-encrypted files.
| Command | Purpose |
|---|---|
atmos secret list -s <stack> -c <component> | List declared secrets and status |
atmos secret init -s <stack> -c <component> | Provision/rotate declared secrets interactively |
atmos secret set <name> -s <stack> -c <component> | Set a declared secret |
atmos secret get <name> -s <stack> -c <component> | Retrieve a declared secret, masked by default |
atmos secret import -s <stack> -c <component> | Bring existing backend secrets under management |
atmos secret pull -s <stack> -c <component> | Download declared secrets to a local file |
atmos secret push -s <stack> -c <component> | Upload declared secrets from a local file |
atmos secret shell -s <stack> -c <component> | Start a shell with secrets in environment |
atmos secret exec -s <stack> -c <component> -- <cmd> | Run one command with secrets injected |
atmos secret validate -s <stack> -c <component> | CI gate for required initialized secrets |
atmos secret keygen ... | Generate key material for supported vault backends |
atmos secret keygen -s <stack> resolves stack providers even before secrets are declared. Add
-c <component> (and --type when needed) for component overrides; differing provider definitions
require an explicit component. Without -s, keygen uses providers from atmos.yaml.
For a named secret declared in top-level stack secrets.vars, set, get, delete (alias unset),
and import NAME --from-* need no component: atmos secret set NAME=value -s <stack>. The same applies
to consistent global declarations; instance secrets still need -c. Commands that operate on every
declared secret (pull, push, import FILE, exec, shell, delete --all, validate) run on the
stack's shared stack/global declarations only when -c is omitted; add -c to include that
component's instance secrets. Conflicting shared declarations/providers need an explicit component.
Use --identity when backend access needs an Atmos Auth identity. --identity=false disables Atmos
authentication entirely: a store pinned to an identity: then uses ambient credentials, and Atmos warns
once per store. Without an interactive terminal, atmos secret set on an existing value and
atmos secret delete need --force. Use --type to disambiguate
component kinds.
For SOPS age vaults, keygen restores a missing public recipient rule from an existing private
identity without generating another key. Existing matching rules and explicit recipients stay
unchanged. If the key source has multiple distinct identities, select one with spec.age_key_file
or declare spec.age_recipients; --force generates additional private material.
!store calls.!secret for sensitive values and !store/!store.get for non-sensitive shared data.--mask enabled for normal operations; masked inspection should not leak values.atmos secret validate in CI before plan/apply workflows that require secrets.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cloudposse/atmos --plugin atmos58 skills in this plugin
/atmos-aiAtmos AI and MCP integrations: connect external AI assistants to Atmos through agent skills, atmos mcp start, multi-CLI MCP export, Atmos Pro MCP, and AWS MCP servers; run AI from Atmos through atmos ai ask/chat/exec, --ai command analysis, API providers, CLI providers, external MCP routing/pass-through, toolchain-aware export, auth-wrapped tools, and MCP+skills pairing/atmos-ansibleAnsible orchestration: playbook execution, variable passing, inventory management, stack-based configuration for configuration management/atmos-asciicastCreate and review portable Atmos CLI asciicast demos for community-facing documentation, examples, and training materials.Other plugins' skills for the same job