Creates a partitions configuration.

## **ATTRIBUTES**

| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | [Name](https://bazel.build/concepts/labels#target-names) | required | - |
| bootstrap_partitions | Partitions that are only flashed in the "fuchsia" configuration. | [Label List](https://bazel.build/rules/lib/toplevel/attr#label_list) | optional | `[]` |
| bootloader_partitions | List of bootloader partitions. | [Label List](https://bazel.build/rules/lib/toplevel/attr#label_list) | optional | `[]` |
| partitions | List of non-bootloader partitions. | [Label List](https://bazel.build/rules/lib/toplevel/attr#label_list) | optional | `[]` |
| hardware_revision | Name of the hardware that needs to assert before flashing images. | [String](https://bazel.build/rules/lib/toplevel/attr#string) | optional | `""` |
| product_matches | List of product names to match for flashing. | [String List](https://bazel.build/rules/lib/toplevel/attr#string_list) | optional | `[]` |
| unlock_credentials | List of zip files containing the fastboot unlock credentials. | [Label List](https://bazel.build/rules/lib/toplevel/attr#label_list) | optional | `[]` |
| ssh_key_upload_method | Optional configuration for uploading SSH keys during flash. | [Label](https://bazel.build/rules/lib/toplevel/attr#label) | optional | `None` |