-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6ceffd
commit 421fbcb
Showing
8 changed files
with
194 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
docs/pages/reference/terraform-provider/data-sources/workload_identity.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
title: Reference for the teleport_workload_identity Terraform data-source | ||
sidebar_label: workload_identity | ||
description: This page describes the supported values of the teleport_workload_identity data-source of the Teleport Terraform provider. | ||
--- | ||
|
||
{/*Auto-generated file. Do not edit.*/} | ||
{/*To regenerate, navigate to integrations/terraform and run `make docs`.*/} | ||
|
||
|
||
|
||
|
||
|
||
{/* schema generated by tfplugindocs */} | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `metadata` (Attributes) Common metadata that all resources share. (see [below for nested schema](#nested-schema-for-metadata)) | ||
- `spec` (Attributes) The configured properties of the WorkloadIdentity (see [below for nested schema](#nested-schema-for-spec)) | ||
- `sub_kind` (String) Differentiates variations of the same kind. All resources should contain one, even if it is never populated. | ||
- `version` (String) The version of the resource being represented. | ||
|
||
### Nested Schema for `metadata` | ||
|
||
Optional: | ||
|
||
- `description` (String) description is object description. | ||
- `expires` (String) expires is a global expiry time header can be set on any resource in the system. | ||
- `labels` (Map of String) labels is a set of labels. | ||
- `name` (String) name is an object name. | ||
|
||
|
||
### Nested Schema for `spec` | ||
|
||
Optional: | ||
|
||
- `rules` (Attributes) The rules which are evaluated before the WorkloadIdentity can be issued. (see [below for nested schema](#nested-schema-for-specrules)) | ||
- `spiffe` (Attributes) Configuration pertaining to the issuance of SPIFFE-compatible workload identity credentials. (see [below for nested schema](#nested-schema-for-specspiffe)) | ||
|
||
### Nested Schema for `spec.rules` | ||
|
||
Optional: | ||
|
||
- `allow` (Attributes List) A list of rules used to determine if a WorkloadIdentity can be issued. If none are provided, it will be considered a pass. If any are provided, then at least one must pass for the rules to be considered passed. (see [below for nested schema](#nested-schema-for-specrulesallow)) | ||
|
||
### Nested Schema for `spec.rules.allow` | ||
|
||
Optional: | ||
|
||
- `conditions` (Attributes List) The conditions that must be met for this rule to be considered passed. (see [below for nested schema](#nested-schema-for-specrulesallowconditions)) | ||
|
||
### Nested Schema for `spec.rules.allow.conditions` | ||
|
||
Optional: | ||
|
||
- `attribute` (String) The name of the attribute to evaluate the condition against. | ||
- `equals` (String) An exact string that the attribute must match. | ||
|
||
|
||
|
||
|
||
### Nested Schema for `spec.spiffe` | ||
|
||
Optional: | ||
|
||
- `hint` (String) A freeform text field which is provided to workloads along with a credential produced by this WorkloadIdentity. This can be used to provide additional context that can be used to select between multiple credentials. | ||
- `id` (String) The path of the SPIFFE ID that will be issued to the workload. This should be prefixed with a forward-slash ("/"). This field supports templating using attributes. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
docs/pages/reference/terraform-provider/resources/workload_identity.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
title: Reference for the teleport_workload_identity Terraform resource | ||
sidebar_label: workload_identity | ||
description: This page describes the supported values of the teleport_workload_identity resource of the Teleport Terraform provider. | ||
--- | ||
|
||
{/*Auto-generated file. Do not edit.*/} | ||
{/*To regenerate, navigate to integrations/terraform and run `make docs`.*/} | ||
|
||
|
||
|
||
|
||
|
||
{/* schema generated by tfplugindocs */} | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `metadata` (Attributes) Common metadata that all resources share. (see [below for nested schema](#nested-schema-for-metadata)) | ||
- `spec` (Attributes) The configured properties of the WorkloadIdentity (see [below for nested schema](#nested-schema-for-spec)) | ||
- `sub_kind` (String) Differentiates variations of the same kind. All resources should contain one, even if it is never populated. | ||
- `version` (String) The version of the resource being represented. | ||
|
||
### Nested Schema for `metadata` | ||
|
||
Optional: | ||
|
||
- `description` (String) description is object description. | ||
- `expires` (String) expires is a global expiry time header can be set on any resource in the system. | ||
- `labels` (Map of String) labels is a set of labels. | ||
- `name` (String) name is an object name. | ||
|
||
|
||
### Nested Schema for `spec` | ||
|
||
Optional: | ||
|
||
- `rules` (Attributes) The rules which are evaluated before the WorkloadIdentity can be issued. (see [below for nested schema](#nested-schema-for-specrules)) | ||
- `spiffe` (Attributes) Configuration pertaining to the issuance of SPIFFE-compatible workload identity credentials. (see [below for nested schema](#nested-schema-for-specspiffe)) | ||
|
||
### Nested Schema for `spec.rules` | ||
|
||
Optional: | ||
|
||
- `allow` (Attributes List) A list of rules used to determine if a WorkloadIdentity can be issued. If none are provided, it will be considered a pass. If any are provided, then at least one must pass for the rules to be considered passed. (see [below for nested schema](#nested-schema-for-specrulesallow)) | ||
|
||
### Nested Schema for `spec.rules.allow` | ||
|
||
Optional: | ||
|
||
- `conditions` (Attributes List) The conditions that must be met for this rule to be considered passed. (see [below for nested schema](#nested-schema-for-specrulesallowconditions)) | ||
|
||
### Nested Schema for `spec.rules.allow.conditions` | ||
|
||
Optional: | ||
|
||
- `attribute` (String) The name of the attribute to evaluate the condition against. | ||
- `equals` (String) An exact string that the attribute must match. | ||
|
||
|
||
|
||
|
||
### Nested Schema for `spec.spiffe` | ||
|
||
Optional: | ||
|
||
- `hint` (String) A freeform text field which is provided to workloads along with a credential produced by this WorkloadIdentity. This can be used to provide additional context that can be used to select between multiple credentials. | ||
- `id` (String) The path of the SPIFFE ID that will be issued to the workload. This should be prefixed with a forward-slash ("/"). This field supports templating using attributes. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
integrations/terraform/provider/data_source_teleport_workload_identity.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
18 changes: 9 additions & 9 deletions
18
integrations/terraform/provider/resource_teleport_workload_identity.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.