|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "smallstep_managed_radius Data Source - terraform-provider-smallstep" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +# smallstep_managed_radius (Data Source) |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | +## Example Usage |
| 14 | + |
| 15 | +```terraform |
| 16 | +data "smallstep_managed_radius" "my_radius" { |
| 17 | + id = "cd4452b0-809a-4fc1-aafe-1814042ce1fc" |
| 18 | +} |
| 19 | +
|
| 20 | +output "radius_ip" { |
| 21 | + value = data.smallstep_managed_radius.my_radius.server_ip |
| 22 | +} |
| 23 | +
|
| 24 | +output "radius_port" { |
| 25 | + value = data.smallstep_managed_radius.my_radius.server_port |
| 26 | +} |
| 27 | +
|
| 28 | +output "radius_hostname" { |
| 29 | + value = data.smallstep_managed_radius.my_radius.server_hostname |
| 30 | +} |
| 31 | +
|
| 32 | +output "radius_ca" { |
| 33 | + value = data.smallstep_managed_radius.my_radius.server_ca |
| 34 | +} |
| 35 | +``` |
| 36 | + |
| 37 | +<!-- schema generated by tfplugindocs --> |
| 38 | +## Schema |
| 39 | + |
| 40 | +### Required |
| 41 | + |
| 42 | +- `id` (String) The UUID of this managed RADIUS server. |
| 43 | + |
| 44 | +### Read-Only |
| 45 | + |
| 46 | +- `client_ca` (String) The CA that the RADIUS server will trust to verify clients. |
| 47 | +- `name` (String) A descriptive name for this resource. Must be unique across the team. |
| 48 | +- `nas_ips` (List of String) The IP addresses the Network Access Server (NAS) may connect from to the RADIUS server. |
| 49 | +- `reply_attributes` (Attributes List) (see [below for nested schema](#nestedatt--reply_attributes)) |
| 50 | +- `server_ca` (String) The CA that supplicants should use to verify the RADIUS server. |
| 51 | +- `server_hostname` (String) The hostname of the RADIUS server. |
| 52 | +- `server_ip` (String) The IP address of the RADIUS server. |
| 53 | +- `server_port` (String) The port of the RADIUS server. |
| 54 | + |
| 55 | +<a id="nestedatt--reply_attributes"></a> |
| 56 | +### Nested Schema for `reply_attributes` |
| 57 | + |
| 58 | +Read-Only: |
| 59 | + |
| 60 | +- `name` (String) The attribute name. |
| 61 | +- `value` (String) The static attribute value. |
| 62 | +- `value_from_certificate` (String) The object identifier (OID) of a field in the supplicant certificate. The RADIUS server will set the value of the reply attribute to the value of the field. |
0 commit comments