consul_acl_bootstrap
Bootstrap ACLs in Consul
Collection: community.general
Full Name: community.general.consul_acl_bootstrap
Synopsis
Bootstrap ACLs in Consul
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| bootstrap_secret | string | The secret to be used as secret ID for the initial token. Needs to be an UUID. | ||
| ca_path | string | Target PEM CA bundle path. | ||
| host | string | localhost | Consul agent hostname. | |
| port | int | 8500 | Consul agent HTTP port. | |
| scheme | string | http | HTTP or HTTPS protocol. | |
| state | string | present | Whether the token should be present or absent. | |
| validate_certs | bool | true | Validate the server certificate. |
Example
yaml
- community.general.consul_acl_bootstrap:
bootstrap_secret: 22eaeed1-bdbd-4651-724e-42ae6c43e387
name: Bootstrap the ACL system