Aws Access Key
@sntxrr/aws-access-keyv2026.10.22.1
01README
Mint, inventory, deactivate and delete AWS IAM access keys — the step @swamp/aws/iam cannot model — delivering a new key straight into a named vault item, verified by read-back and rolled back if delivery fails
02Behaviors
@sntxrr/aws-access-keyv2026.09.23.2aws_access_key.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| userName | string | The IAM user whose access keys this instance manages. |
| region? | string | Region the IAM client signs for. IAM is global; leave the default unless your partition needs otherwise. |
| targetVault? | string | Name of the swamp vault `create` writes the new key into. Required by create; list/deactivate/delete do not use it. |
| targetItem? | string | Item within targetVault. create writes <targetItem>/access-key-id and <targetItem>/secret-access-key. |
fn list()
Inventory the user's access keys with status, age and last use.
fn create(allowSecond?: boolean)
Mint a new access key and write both halves into targetVault/targetItem, verified by read-back. Rolls the key back if delivery fails.
| Argument | Type | Description |
|---|---|---|
| allowSecond? | boolean | Permit minting while the user already holds one key — the overlap step of a rotation. Off by default so an accidental second key cannot outlive the first. |
fn deactivate(accessKeyId: string)
Set one key Inactive — the reversible step before delete in a rotation.
| Argument | Type | Description |
|---|---|---|
| accessKeyId | string | The access key id to act on (AKIA…). |
fn delete(accessKeyId: string)
Delete one key. Refuses an Active key — deactivate it first, so a still-used key fails loudly and reversibly before it is gone.
| Argument | Type | Description |
|---|---|---|
| accessKeyId | string | The access key id to act on (AKIA…). |
Resources
key(infinite)— One access key's metadata and fingerprints. Never the secret.
inventory(infinite)— Every key the user holds as of one list call.
03Previous Versions
2026.10.14.1MIT(was none)
Declare SPDX license (MIT) in manifest.
2026.09.23.2
2026.09.23.1
04Stats
A
100 / 100
Downloads
55
Archive size
209.9 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
credentials-sensitive-field4 accepted
A field that looks like a secret but is not marked sensitive, so its value is not vaulted.
- models/aws_access_key.ts:131 — first 12 hex of SHA-256 over the public key id; a comparison handle, not a credential
- models/aws_access_key.ts:135 — first 12 hex (48 bits) of SHA-256 over a 40-char random secret; cannot be inverted or brute-forced, it only proves which secret is stored
- models/aws_access_key.ts:141 — a vault key path (item/field) where create wrote the id, not a value
- models/aws_access_key.ts:143 — a vault key path (item/field) where create wrote the secret, not the secret
06Platforms
07Labels