mirror of https://github.com/docker/docs.git
Fix x-aws-keys field name
The current documentation suggests listing SecretsManager secret JSON keys in a `keys` field, but this is not correct. The correct field is `x-aws-keys`. The `keys` field as written is not supported by the [compose spec](https://github.com/compose-spec/compose-spec/blob/master/spec.md), and attempting most `docker compose` commands would result in failure if one named the field as written.
This commit is contained in:
parent
6f2230267a
commit
7e2d5d3a2e
|
@ -370,7 +370,7 @@ services:
|
|||
secrets:
|
||||
foo:
|
||||
name: "arn:aws:secretsmanager:eu-west-3:1234:secret:foo-ABC123"
|
||||
keys:
|
||||
x-aws-keys:
|
||||
- "bar"
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue