mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 23:29:28 -05:00
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
67 lines
1.9 KiB
Markdown
67 lines
1.9 KiB
Markdown
# SSM Parameter Store
|
|
|
|
**Protocol:** JSON 1.1 (`X-Amz-Target: AmazonSSM.*`)
|
|
**Endpoint:** `POST http://localhost:4566/`
|
|
|
|
## Supported Actions
|
|
|
|
| Action | Description |
|
|
|---|---|
|
|
| `PutParameter` | Create or update a parameter |
|
|
| `GetParameter` | Get a single parameter by name |
|
|
| `GetParameters` | Get multiple parameters by name |
|
|
| `GetParametersByPath` | Get all parameters under a path prefix |
|
|
| `DeleteParameter` | Delete a parameter |
|
|
| `DeleteParameters` | Delete multiple parameters |
|
|
| `GetParameterHistory` | List all versions of a parameter |
|
|
| `DescribeParameters` | List parameters with optional filters |
|
|
| `LabelParameterVersion` | Attach a label to a specific version |
|
|
| `AddTagsToResource` | Tag a parameter |
|
|
| `ListTagsForResource` | List tags on a parameter |
|
|
| `RemoveTagsFromResource` | Remove tags from a parameter |
|
|
|
|
## Configuration
|
|
|
|
```yaml
|
|
floci:
|
|
services:
|
|
ssm:
|
|
enabled: true
|
|
max-parameter-history: 5 # Versions retained per parameter
|
|
storage:
|
|
services:
|
|
ssm:
|
|
mode: memory
|
|
flush-interval-ms: 5000
|
|
```
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
export AWS_ENDPOINT_URL=http://localhost:4566
|
|
|
|
# Store parameters
|
|
aws ssm put-parameter --endpoint-url $AWS_ENDPOINT_URL \
|
|
--name /app/db/host --value "localhost" --type String
|
|
|
|
aws ssm put-parameter --endpoint-url $AWS_ENDPOINT_URL \
|
|
--name /app/db/password --value "secret" --type SecureString
|
|
|
|
# Retrieve
|
|
aws ssm get-parameter --endpoint-url $AWS_ENDPOINT_URL \
|
|
--name /app/db/host
|
|
|
|
aws ssm get-parameters-by-path --endpoint-url $AWS_ENDPOINT_URL \
|
|
--path /app/ --recursive
|
|
|
|
# Delete
|
|
aws ssm delete-parameter --endpoint-url $AWS_ENDPOINT_URL \
|
|
--name /app/db/host
|
|
```
|
|
|
|
## Parameter Types
|
|
|
|
All AWS parameter types are accepted: `String`, `StringList`, `SecureString`.
|
|
|
|
!!! note
|
|
`SecureString` parameters are stored as-is without actual KMS encryption in Floci. The type is preserved and returned correctly, but the value is not encrypted at rest. |