Provides a resource to manage API Shield configurations.
resource "cloudflare_api_shield" "example" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
auth_id_characteristics {
name = "my-example-header"
type = "header"
}
}
zone_id
(String) The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.auth_id_characteristics
(Block List) Characteristics define properties across which auth-ids can be computed in a privacy-preserving manner. (see below for nested schema)id
(String) The ID of this resource.auth_id_characteristics
Optional:
name
(String) The name of the characteristic.type
(String) The type of characteristic. Available values: header
, cookie
.