AWS KMS
Create keys and aliases in Floci, try encryption, signing and MACs on them, and pick them as the encryption key of other services' resources.
Features
Keys
- Customer managed keys: list with alias, key ID, status, key type and key usage; find by alias or ID.
- AWS managed keys: the default keys of AWS services in Floci, read only.
- Create key: symmetric (encrypt and decrypt), asymmetric (sign and verify, or encrypt and decrypt) or HMAC, with a key spec (RSA, ECC or HMAC sizes), an optional alias and description.
- Enable, Disable, Schedule deletion with a waiting period of 7–30 days, and Cancel deletion, from the list or the key page.
- Pending-deletion keys show their deletion date.
Key page
- Details tab: key ID, ARN, status, key type, key usage, algorithms, origin, creation date and description; Edit description.
- Connect card with Node.js and Python code for the key's usage: encrypt / decrypt, sign / verify, or generate / verify a MAC.
- Aliases tab: create and delete aliases. Creating an alias that belongs to another key asks before pointing it to this key.
- Key policy tab: view the key policy.
- Try it tab: run operations against the key; nothing is saved.
- Symmetric keys: encrypt and decrypt with an optional encryption context, and generate a data key.
- Asymmetric encryption keys: encrypt and decrypt with a chosen algorithm.
- Signing keys: sign and verify a message with a chosen algorithm, and view the public key (PEM).
- HMAC keys: generate and verify a MAC.
- "Stack: X" link when the key was created by CloudFormation.
Keys in other services
- Choose a key when you create a secret, SecureString parameter, bucket, upload, queue, topic, table, database or Lambda environment, or type a key ARN by hand.
- Resource pages link to the key they use and mark it "(not found)" when the key no longer exists.
Typical workflow
- Open Customer managed keys and choose Create key.
- Keep Symmetric, enter an alias such as
alias/ordersand choose Create key. - On the key page, open Try it, type some text under Encrypt and choose Encrypt; paste the ciphertext under Decrypt to get it back.
- Copy the code from the Connect card on the Details tab, or choose the key when you create a secret, queue or table.
Works with
- AWS Secrets Manager: encrypt secrets with a key.
- AWS Systems Manager Parameter Store: encrypt SecureString parameters.
- Amazon S3: bucket default encryption and per-upload keys.
- Amazon SQS: queue encryption.
- Amazon SNS: topic encryption.
- Amazon DynamoDB: table encryption.
- Amazon RDS: database encryption.
- AWS Lambda: encrypt environment variables.
- AWS CloudFormation: keys created by a stack link to it.
Limitations
- Other services store the key ID but ignore the key state: a disabled or pending-deletion key keeps working for secrets, parameters, buckets, queues, topics, tables, functions and databases. The disable and delete dialogs remind you.
- Floci doesn't enforce key policies, so the Key policy tab is read only.
- Cancel deletion leaves the key Enabled in Floci (AWS leaves it Disabled).
- Floci accepts a deletion window of 6 or 31 days and a duplicate alias name; the console blocks both.