sops_delete_secrets
Delete keys from a SOPS-encrypted file, removing encrypted values and metadata. Rejects deletion if dependent secrets exist unless they are also deleted.
Instructions
Delete one or more keys from an existing SOPS-encrypted file. Removes both the encrypted value and the _meta_unencrypted entry. Rejects deletion of keys that other derived secrets depend on unless those dependents are also in the delete list. Requires SOPS_AGE_KEY env var.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_names | Yes | Keys to delete | |
| encrypted_content | Yes | Contents of an existing secrets.enc.yaml file |