mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-07-03 09:37:39 +00:00
34 lines
940 B
Markdown
34 lines
940 B
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "woodpecker_secret Data Source - terraform-provider-woodpecker"
|
|
subcategory: ""
|
|
description: |-
|
|
Use this data source to retrieve information about a global secret.
|
|
---
|
|
|
|
# woodpecker_secret (Data Source)
|
|
|
|
Use this data source to retrieve information about a global secret.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "woodpecker_secret" "test_secret" {
|
|
name = "test"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) the name of the secret
|
|
|
|
### Read-Only
|
|
|
|
- `events` (Set of String) events for which the secret is available (push, tag, pull_request, deployment, cron, manual)
|
|
- `id` (Number) the secret's id
|
|
- `images` (Set of String) list of Docker images for which this secret is available
|
|
- `plugins_only` (Boolean) whether secret is only available for [plugins](https://woodpecker-ci.org/docs/usage/plugins/plugins)
|