Commit Graph
21 Commits
Author SHA1 Message Date
Matheus Oliveira 9b4e27c80a fix(iam): authorize KMS operations against the key named in the request (#6458)
* fix(iam): authorize KMS operations against the key named in the request

KMS is JSON 1.1 posted to /, so the path-based key extraction never
found a key and every action was evaluated against key/*: a policy
allowing kms:Decrypt on one key refused that very key, and a policy
restricted to a key restricted nothing. Enforcement now derives the
request's resources the way the KMS permissions reference gives them:
the key-scoped operations name the key the KeyId member names, resolving
an id, an alias or an ARN to the stored key's own ARN; Decrypt without
a KeyId reads the key out of the CiphertextBlob; the alias operations
name the alias and the keys the alias pages give; CreateKey,
GenerateRandom, ListKeys, ListAliases and ListRetirableGrants stay at *.
A request nothing resolves falls back to key/* so the handler answers
its own NotFoundException. ReEncrypt stays the single action AWS splits
into ReEncryptFrom and ReEncryptTo, evaluated against both keys.

Closes #6256

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

* fix(iam): authorize ReEncrypt and the grant operations against the keys they act on

A ReEncrypt without SourceKeyId resolved its source through Decrypt's
reader and trusted a KeyId member ReEncrypt does not even have, so a
caller allowed only on key B could send ciphertext encrypted by a
denied key A, name B everywhere, and get A's data back under B. The
source now resolves the way the handler decrypts: SourceKeyId when the
request names one, otherwise the key the CiphertextBlob itself names.
A RetireGrant carrying only a GrantToken was checked against key/*,
which a key-scoped policy never matches; it now answers the key its
grant belongs to, with the documented key/* fallback for a token nothing
resolves. RevokeGrant and the KeyId-plus-GrantId form of RetireGrant
now name the grant's own key beside the key the request names, so a
pair naming one key while the grant belongs to another can no longer
retire or revoke it.

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

* fix(iam): resolve a RevokeGrant target by its GrantId, never a GrantToken

The revoke target lookup preferred a GrantToken the RevokeGrant handler
never reads: a request could name the grant of an allowed key in a token
while its GrantId named the grant of a denied one, pass the check on the
token's key, and have the handler revoke the other grant. The lookup now
passes the GrantId alone, so the checked key is the key of the grant the
handler deletes.

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

* fix(iam): fall back when a CiphertextBlob is not a string

A Decrypt or ReEncrypt carrying a CiphertextBlob that is not a string
made binaryValue answer null on the enforcement path and blow up before
the handler could answer its own client error. A blob that is not text
now names every key the account holds, the documented fallback, so the
request is authorized and the handler answers the error AWS answers for
a malformed blob.

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

* fix(kms): share the grant token scan and its enforcement lookup

retireGrant scanned the region's grants for a token the same way the
enforcement lookup did; both now go through one findGrantByToken. The
builder's revoke target resolves through the shared grantKeyArn helper
with the members each handler actually reads, the token and the id for
RetireGrant and the id alone for RevokeGrant, whose handler never reads
a token. The two test javadocs that described the enforcement gap as a
review's finding now describe the gap itself.

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

---------

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
2026-10-25 21:19:18 -04:00
Renald Dubus 5116b3c578 feat(kms): add GenerateDataKeyPair and GenerateDataKeyPairWithoutPlaintext (#6359) 2026-10-24 14:01:40 -04:00
Allen Sanborn 5ad97781ef feat(kms): serve the AWS managed keys under alias/aws/* in every region (#4792)
* feat(kms): serve the AWS managed keys under alias/aws/* in every region

Every AWS account has a per-region AWS managed key for each service that
encrypts data on the account's behalf, published under a reserved
alias/aws/<service> alias. Floci had none, so a lookup that succeeds
against any real account failed here: DescribeKey on alias/aws/s3
returned NotFoundException and ListAliases returned nothing in that
namespace. Nothing declares these keys in a template, which is what made
their absence costly to diagnose. A module that leaves a service's
encryption at its default resolves one through a data source and fails at
plan time.

The catalog is data, in kms/aws-managed-keys.yaml, following the IAM
managed policy catalog: adding a service is a line there. A region's keys
are minted the first time anything reads that region's alias namespace,
which is ListAliases or a lookup naming one of the reserved aliases. That
mirrors AWS, where a service's key appears once the account first uses the
service, and it keeps an unused region free. Minting is idempotent, so the
ids survive a restart against persistent storage and ciphertext encrypted
under them keeps decrypting.

These are AWS's keys, not the account's, so DescribeKey now reports
KeyManager per key instead of the constant CUSTOMER it returned before,
GetKeyRotationStatus reports true for them, and the administrative
operations AWS reserves to a key's owner are refused with
AccessDeniedException: ScheduleKeyDeletion, CancelKeyDeletion,
PutKeyPolicy, UpdateKeyDescription, EnableKey, DisableKey,
EnableKeyRotation, DisableKeyRotation, RotateKeyOnDemand, TagResource and
UntagResource. The alias/aws/ namespace is reserved too: CreateAlias under
it is rejected with InvalidAliasNameException, and UpdateAlias or
DeleteAlias against one of these aliases with AccessDeniedException.
Cryptographic operations are unaffected, which is the point of the keys
existing.

Two deliberate simplifications, both documented: the key policy is the
standard account-root policy rather than the service-principal policy with
a kms:ViaService condition AWS attaches, and AWS distinguishes some of
those refusals as unsupported operations rather than access denials.

* fix(kms): seed only AWS managed keys, and rebuild them if the key store is lost

Five corrections to the alias/aws/* catalog and the code that mints it.

The catalog went from 40 entries to 23. An AWS managed key lives in the
customer's account and has an alias/aws/<service> alias; an AWS owned key
lives in an AWS-owned account and has no alias there, so DescribeKey on it
fails against a real account. Seeding the second kind makes a call succeed
here and fail against AWS, which is the worst error this emulator can
produce: a module looks compatible when it is not, and nothing reports it.
Seventeen entries could not be sourced to a customer-account context and
are gone, EKS among them, whose API-data envelope encryption uses an AWS
owned key by default. The YAML header now states the managed-versus-owned
test so the next line added has a bar to clear.

Minting is gated on the alias being present and the key that alias targets
being present, not on the alias alone. The two stores are different files
and PersistentStorage quarantines an unreadable one and starts that store
empty by itself, so a lost kms-keys.json used to leave every alias dangling
for the life of the instance: ListAliases advertised alias/aws/s3 while
DescribeKey on it reported NotFoundException. The catalog is in the
repository, so this is the one part of a damaged store that can rebuild
itself, and now it does.

ListKeys mints too. Real AWS returns the AWS managed keys from ListKeys
unconditionally, and a caller that reads ListKeys, then DescribeKey, then
filters on KeyManager saw them or not depending on whether something else
had read the alias namespace earlier in the same process.

Both stores are written once per region as a batch instead of once per
entry. PersistentStorage.put serialises the whole map, so the old path cost
two whole-file rewrites per catalog entry on the first read of every region,
while holding the mint lock. The aliases are written before the keys
deliberately: a crash between the two batches then leaves aliases whose
target is missing, which the gate above repairs, rather than keys with no
alias, which nothing repairs and which would sit in ListKeys forever.

CreateAlias and UpdateAlias no longer accept an AWS managed key as the
target. AWS excludes them, so a second alias on one of these keys is the
same false-pass shape as seeding a key AWS does not have. The refusal is
AccessDeniedException: it is an authorization outcome, the key's policy
grants the account nothing, and CreateAlias publishes no error code for
this case.

Two pre-existing tests asserted counts that ListKeys and ListAliases now
answer as AWS does; they select the customer-managed subset instead.

* docs(kms): group the AWS managed key catalog by the strength of its evidence

* fix(kms): drop alias/aws/elasticache and cite alias/aws/acm in the managed key catalog

The ElastiCache at-rest encryption guide describes the default as a
service managed key and serverless caches as using an AWS owned key; it
never names alias/aws/elasticache, so the entry failed the catalog's own
bar. The KMS ListAliases API reference prints alias/aws/acm with a
TargetKeyId in its example output, so acm joins the cited group.

* refactor(kms): fold requireCustomerManagedTarget into requireCustomerManaged

The two helpers had identical bodies. Also narrow the ensureAwsManagedKeys
Javadoc: writing aliases before keys helps only for a crash between the
two batches; losing kms-aliases.json alone still mints fresh keys and
orphans the old ones.

* fix(kms): refuse CreateGrant on AWS managed keys

An AWS managed key's policy allows kms:CreateGrant only via the owning
service (kms:ViaService), never to the account directly, so a direct
CreateGrant now gets AccessDeniedException like the other administrative
refusals.

* test(kms): concurrent cold reads mint each AWS managed key once

Sixteen threads read ListAliases on a cold region at once; the key store
must hold exactly the catalog's keys and each reserved alias must appear
once. Replacing the awsManagedKeyLock monitor with a fresh Object makes
this fail (138 keys minted against a 25-entry catalog).

* fix(kms): register the AWS managed key catalog for native and re-point squatted reserved aliases

- Add kms/*.yaml to quarkus.native.resources.includes. AwsManagedKeys reads
  kms/aws-managed-keys.yaml through a constant, which native resource
  analysis cannot follow (NativeImageResourceIncludesTest).
- Reconcile a reserved alias as present only when its target is an AWS
  managed key. A store persisted before alias/aws/ was reserved could hold
  alias/aws/s3 on a customer key, which DescribeKey then reported as
  CUSTOMER and the AWS managed key guards let through.
- When the alias store is lost but keys survive, re-alias the surviving
  AWS managed keys by description instead of minting a duplicate set.

* docs(kms): cite the sqs, sns, ses, s3 and ebs managed aliases
2026-10-02 17:09:12 -04:00
MIdhun 5cb973c561 feat(kms): support ECC imported key material (#4428)
* feat(kms): support ECC imported key material

* test(kms): cover verify, digest signing and import lifecycle for ECC keys

* docs(kms): explain why ECC keys accept every supported wrapping algorithm

* fix(kms): reject ECC key material whose inner curve parameters differ

* fix(kms): report malformed ECC key fields as IncorrectKeyMaterialException

* fix(kms): reject RSAES_OAEP wrapping of ECC_NIST_P521 material under an RSA_2048 key
2026-09-26 16:23:53 -05:00
Sergei Kesarev 51b6485173 feat(kms): support RSA imported key material (#4152)
* refactor(kms): encapsulate import key material logic in KmsKeyType implementations

* feat(kms): support RSA key import

* fix(kms): check aes key length

* fix(kms): wrapping algorithm value validation

* docs(kms): update docs to reflect asymmetric RSA import support

* fix(kms): add private CipherUtils constructor

* test(kms): add tests for rsa key material import
2026-09-23 00:21:50 -05:00
XuJian 9dd2bd62e4 feat(kms): implement ReplicateKey for multi-region keys (#4176) 2026-09-23 00:21:23 -04:00
Niels Kootstra 494bab4b30 fix(kms): protect ciphertext blobs with an AES-GCM envelope (#3544)
* fix(kms): protect ciphertext blobs with an AES-GCM envelope

Symmetric CMK ciphertext was base64(plaintext) dressed up with a
cosmetic nonce and context fingerprint: anyone holding a CiphertextBlob
could read the plaintext, and any bit flip still "decrypted" to the
same value. Encrypt now builds a versioned AES-256-GCM envelope backed
by real per-CMK key material, binding the key id, backing key id and
canonicalized EncryptionContext as GCM additional authenticated data.
Decrypting with the wrong key, the wrong context, or any tampered byte
in the header, IV, ciphertext or tag now fails as
InvalidCiphertextException instead of leaking or silently accepting
corrupted ciphertext.

RotateKeyOnDemand mints a new backing key rather than replacing the
old one, so ciphertext encrypted before a rotation keeps decrypting
after it, matching AWS KMS's own retention of prior backing keys.
Legacy v1/v2 blobs already persisted keep decrypting read-only for
back-compat; Encrypt never produces them again. Keys persisted before
this change generate their backing key material lazily on first use
and persist it from then on.

Only SYMMETRIC_DEFAULT keys reach this path: SM2 Encrypt/Decrypt is
already unreachable via the existing key-usage/algorithm validation,
and RSA keeps its existing, already-real RSAES-OAEP handling untouched.

* fix(kms): serialize legacy backing key generation under a lock

Two concurrent first uses of a key persisted before the AES-GCM
envelope existed could each generate a different backing key and both
call keyStore.put; the loser's backing key, and any ciphertext already
encrypted under it, would become unreachable. Guard the generate-and-persist
step with a dedicated lock that re-reads and re-checks the key before
minting one, so only one backing key is ever created for a given legacy
key, and return the resolved instance so callers use the persisted
object. The unsynchronized fast path for already-healed keys is
unchanged.

Add a test that resolves a legacy key concurrently from a dozen
threads and asserts they converge on one backing key whose ciphertexts
all still decrypt.

* fix(kms): back EXTERNAL symmetric keys with their imported material

The envelope resolved every SYMMETRIC_DEFAULT key through the lazy backing
key generator, including Origin=EXTERNAL keys. A PendingImport key was
given random material before ImportKeyMaterial ran, Encrypt then used that
material instead of the imported one, and deleting or expiring the import
left the generated key able to open ciphertext.

EXTERNAL keys now skip generation, ImportKeyMaterial installs the imported
material as the backing key under its KeyMaterialId, and delete or expiry
removes it. Decrypt of such ciphertext answers with the key's PendingImport
state, and re-importing the same material reinstates the backing key id
that earlier ciphertext names.

* fix(kms): synchronize backing material access
2026-09-14 14:04:58 -04:00
Matheus Oliveira 37faaa8abe feat(kms): support ImportKeyMaterial for Origin=EXTERNAL keys (#3068)
CreateKey accepts Origin=EXTERNAL, GetParametersForImport issues a real RSA
wrapping key, and ImportKeyMaterial unwraps and installs the material.
Expiry and DeleteImportedKeyMaterial return the key to PendingImport.

Fixes #1916

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
2026-09-05 14:00:44 -04:00
TATSUNO “Taz” Yasuhiro e5afe3518b fix(kms): apply real RSAES-OAEP for RSA keys in Encrypt and Decrypt (#3038)
* fix(kms): apply real RSAES-OAEP for RSA keys in Encrypt and Decrypt

Encrypt on an RSA key now produces raw RSA-OAEP ciphertext of the
modulus length. Decrypt accepts a ciphertext made locally with the
public key from GetPublicKey, so the normal envelope pattern works.
Encrypt, Decrypt, and ReEncrypt read the EncryptionAlgorithm request
fields and return them in responses.

Validate plaintext length between 1 and 4096 bytes on every encrypt
path. Turn a malformed blob payload into InvalidCiphertextException
instead of a 500. GenerateDataKey now names itself in key usage
errors and rejects non symmetric keys like real AWS.

Error codes and messages for algorithm mismatch, wrong key usage,
missing KeyId, encryption context on asymmetric keys, and oversized
plaintext were measured against real AWS KMS in us-east-1 and match.

Fixes #3024

* test(kms): rename a GenerateDataKey test to state the thrown exception
2026-09-04 11:21:25 -04:00
Priamo Germosen 984886f697 feat(kms): implement UpdateAlias (#2324)
* feat(kms): implement UpdateAlias

Repoints an existing alias at a different KMS key, following the
existing createAlias/deleteAlias/resolveKey patterns. Required by the
Terraform AWS provider, which treats a target_key_id change on
aws_kms_alias as an in-place update.

* fix(kms): reject invalid replacement keys in UpdateAlias

UpdateAlias accepted any existing key as a replacement target,
including keys pending deletion or with a different key usage/spec
than the alias's current target. Real AWS KMS rejects both: the
replacement key must be in a compatible state and match the current
target's key usage and key spec.

* fix(kms): compare key type instead of exact key spec in UpdateAlias

The exact KeySpec comparison rejected valid updates between same-type
keys with different specs (e.g. RSA_2048 to RSA_3072), which AWS KMS
accepts as long as both keys share the same key type and usage.

* test(kms): add Terraform compatibility test for UpdateAlias

Verifies the exact scenario from #2291: the Terraform AWS provider
treats target_key_id on aws_kms_alias as an in-place update, so
re-applying with a different target must call UpdateAlias and update
the alias without a destroy/recreate. Self-contained config, mirroring
the eni-destroy-tf pattern, since it needs a second apply with a
different var rather than the shared single-apply main.tf.

* fix(kms): compare key family instead of KeyType in UpdateAlias

Comparing the fine-grained KeyType enum rejected valid cross-family
asymmetric updates (e.g. RSA_2048 to ECC_NIST_P256) that AWS KMS
accepts. AWS only requires the current and new key to be "the same
type (both symmetric or both asymmetric or both HMAC)" - a coarser
three-way split - so compare on that instead.
2026-08-15 12:54:39 -04:00
Hector VenturaandMarcel Herhold 760115db14 feat(kms): implement ListKeyPolicies (#2046)
* feat(kms): implement ListKeyPolicies

ListKeyPolicies failed with UnsupportedOperation, so clients enumerating
policy names before a GetKeyPolicy call could not proceed. GetKeyPolicy
and PutKeyPolicy were already supported, so this was a hole in an
otherwise complete area.

Returns the single `default` policy name, which is what the model
prescribes ("The only valid value is default"), with Truncated false and
NextMarker omitted rather than serialized as null, since AWS only emits
NextMarker when Truncated is true.

Limit and Marker are accepted and ignored. One policy name cannot be
paginated, and ListKeyPolicies is the one KMS list operation that does
not declare InvalidMarkerException, unlike ListKeys, ListAliases,
ListGrants, ListKeyRotations, ListResourceTags, ListRetirableGrants and
DescribeCustomKeyStores. There is therefore no marker it could
legitimately reject, and no undeclared error code is invented for one.

Closes #1528

Co-authored-by: Marcel Herhold <herhold.marcel@gmail.com>

* chore: drop hand-written ListKeyPolicies changelog entry (semantic-release owns CHANGELOG.md)

* fix(kms): drop unused ListKeyPolicies pagination params and fix test claims

Review follow-up, validated against the local AWS references: Limit/Marker are
accepted at the wire by never being read (matching moto's list_key_policies), so
the service signature drops the dead parameters and the structurally vacuous
paging unit test goes with them; the integration test remains the real coverage.
The javadoc justification now states the leniency honestly: SDKs do not fully
enforce LimitType [1..1000] client-side (botocore validates only the minimum),
so out-of-range values can arrive and are deliberately tolerated. The ARN
resolution test no longer claims alias coverage the operation does not have.

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
Co-authored-by: Marcel Herhold <herhold.marcel@gmail.com>
2026-08-05 23:36:07 -05:00
TiM 7d70f64162 feat(docs): generate Supported Actions tables from handler source (#1641)
* feat(docs): generate Supported Actions tables from handler source

The "Supported Actions" tables in docs/services/*.md were hand-maintained and
drifted from the handlers. For example secrets-manager.md omitted RestoreSecret,
which SecretsManagerJsonHandler dispatches, and acm.md listed RenewCertificate,
which is not implemented anywhere in src/.

Derive the action list from handler source so it cannot drift, while keeping the
hand-written Description column:

- tools/docs/regen_action_docs.py extracts actions from `case "X" ->` switch arms
  (including multi-label arms) and JAX-RS REST controllers, and rewrites only the
  rows between the <!-- floci:actions --> markers. Descriptions are preserved by
  action name; new actions get a "-" placeholder. PascalCase-only matching avoids
  picking up SCREAMING_CASE labels from non-action switches.
- tools/docs/services.yaml registers 18 single-table switch services and lists the
  remaining switch handlers under deferred_handlers, so the new-service sentinel
  fires only on a genuinely unregistered handler.
- make docs-sync / docs-check / docs-test, plus a Python-only CI workflow that
  gates on handler, doc, and tooling changes.
- Migrate 18 service docs into marker blocks, reconciling real drift (adds
  RestoreSecret, ImportCertificate, and others; drops the unimplemented
  RenewCertificate).

Revives the parser and CI gate from #738 by @ericbsantana and completes the
description-preservation its spec described. REST-mode, mixed-mode, multi-table,
non-tabular, S3, and ecr docs are deferred and tracked in deferred_handlers.

* docs: drop standalone design spec from action-docs tooling

Remove ideas/auto-generated-action-tables.spec.md and the four references
to it (CONTRIBUTING.md, Makefile, regen_action_docs.py docstring,
services.yaml). It was a planning artifact; the operational docs live in
CONTRIBUTING.md and the tooling is self-documenting. The #738 / @ericbsantana
credit is preserved in the PR description.

* chore: address review on action-docs tooling

- pin actions/checkout to v7.0.0 in docs-actions workflow to match the
  repo-wide bump (#1690), so dependabot does not immediately flag the new file
- document in the generator docstring that a switch case label counts as
  supported purely by existing, so a per-action UnsupportedOperation stub
  would be a false positive (handlers here reject from the default arm)

* docs: regenerate action tables against current handler source

Resync the generated Supported Actions tables to handler source after
rebasing onto the latest main:

- cloudformation: add DescribeStackInstance and DescribeStackSetOperation
  now emitted by the handler, and keep the implemented StackSet descriptions
- cloudtrail: add LookupEvents
- firehose: add UpdateDestination
- step-functions: add PublishStateMachineVersion, ListStateMachineVersions,
  DeleteStateMachineVersion
- register the cloudcontrol handler in deferred_handlers so the strict
  unregistered-handler gate passes (no standalone action table yet)

* fix(docs): prevent action-table generator from silently dropping actions

Address the latest review pass on the action-docs tooling:

- switch extraction now captures case arms whose labels wrap across lines
  (valid Java 14+ syntax). The capture group excludes only `{ } ;` boundaries,
  so it spans newlines between labels but stops at the arm's `->`. A wrapped
  arm was previously missed, and docs-check would stay green because the doc
  and the generated output agreed on the omission, defeating the whole
  drift-prevention guarantee.
- REST extraction skips Javadoc / inline comments between a verb annotation
  and the method signature; such a line otherwise reset the lookahead and
  dropped the action.
- parse_marker_block raises a descriptive error when a marker is not on its
  own line, instead of a bare "substring not found".
- doc, source, and registry reads/writes are pinned to UTF-8 so generation is
  locale-independent (the docs contain non-ASCII text).
- the docs-actions push trigger watches Makefile and the workflow file,
  matching its pull_request trigger.

Adds regression tests for the multi-line arm and comment-skip paths (20 total).
2026-07-06 21:02:04 -05:00
James Netherton ca5fb043a7 feat(kms): add EnableKey support (#1381) 2026-06-16 23:17:52 -05:00
Jason van Zyl 6e4087b0f4 Add KMS key state and description operations (#1251)
* feat(kms): support disabling keys

* feat(kms): support key description updates

* fix(kms): tighten key description update coverage
2026-06-11 01:19:09 -05:00
nblomquist 9d1e24a582 feat(kms) Add KMS Grant APIs (#1073)
* test(kms): add grant compatibility contracts

* feat(kms): support empty ListGrants

* feat(kms): add CreateGrant and persisted ListGrants round trip

* test(kms): add create grant round trip coverage

* feat(kms): add grant pagination, filters, and ListRetirableGrants

* test(kms): add pagination, filter, and retirable grant coverage

* feat(kms): add RevokeGrant administrative delete

* test(kms): add RevokeGrant unit and integration coverage

* feat(kms): add RetireGrant with token and key+grant retirement paths

* docs(kms): document grant lifecycle operations and enforcement scope

* fix(kms): include RetiringPrincipal in ListGrants response

The handleListGrants handler was omitting RetiringPrincipal from the
JSON response even when the grant had one set. This meant grants
created with a retiring principal were invisible through ListGrants,
while ListRetirableGrants worked fine. Adds the missing serialization
to match the GrantListEntry AWS spec.
2026-05-28 18:36:02 -05:00
kyounghoonJang 255b41bca8 feat(kms): add RotateKeyOnDemand support (#990) 2026-05-24 14:34:51 -05:00
Hector Ventura 9e35046647 Docs/enviroment instead yml (#764)
* docs: moving all config to env instead of yml
* docs: sync with main and new features
* docs: reverting docker-compose.yml
2026-05-10 11:53:31 -05:00
TiM 2201c70ef1 feat(cognito,kms): allow caller-pinned resource IDs via reserved tag prefix (#568)
Allow KMS CreateKey and Cognito CreateUserPool to accept a reserved floci:override-id tag at creation time so tests can pin deterministic resource IDs without a lookup round trip.

Strip reserved floci:* tags from stored metadata and responses, reject reserved tags on KMS TagResource, wire KMS CloudFormation provisioning through tagged key creation, and add focused unit, handler, integration, and AWS CLI bats coverage for the new behavior.
2026-04-22 22:52:42 -05:00
TiM a32b7f1f3b docs: comprehensive audit sweep + CHANGELOG backfill (1.1.0-1.5.2) (#326)
CHANGELOG.md was empty for the 1.1.0-1.5.2 release cycle and service docs
had drifted from code behaviour. This sweep reconciles docs against the
current codebase on upstream/main.

- Backfill CHANGELOG.md for 1.1.0 through 1.5.2 from git history
- Correct exact operation counts in docs/services/index.md: S3 (~30 -> 58),
  Lambda (~25 -> 30), API Gateway v1 (~24 -> 62). Counts now come from the
  actual dispatch handlers rather than @Path annotation counts.
- Rewrite README "Supported Services" table to drop per-service op counts
  (they drift too fast); point readers at docs/services/index.md
- Update 24 service docs for accuracy, add "Not Implemented" sections
  where relevant (s3.md, lambda.md, api-gateway.md)
- Refresh configuration and getting-started docs
- Add EventBridge Scheduler and AppConfig to mkdocs nav
- Add AppConfig / AppConfigData rows to README and services index
  following the 1.5.2 upstream release
2026-04-10 10:52:34 -05:00
TiM 1fa7ae7551 feat(kms): add GetKeyRotationStatus, EnableKeyRotation, and DisableKeyRotation (#290) (#322)
Add key rotation management with persisted state on the KmsKey model.
Rotation is only supported for symmetric ENCRYPT_DECRYPT keys, matching
AWS behavior. Includes validation that rejects asymmetric keys with
UnsupportedOperationException.
2026-04-09 23:51:45 -05:00
Hector Ventura 61433f59ab firt commit 2026-03-15 17:43:56 -05:00