ssh_public_keys
Creates, updates, deletes, gets or lists a ssh_public_keys resource.
Overview
| Name | ssh_public_keys |
| Type | Resource |
| Id | fivetran.groups.ssh_public_keys |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
public_key | string | (example: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6 ... fivetran user key) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | group_id | Returns public key from SSH key pair associated with the group. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
group_id | string | The unique identifier for the group within the Fivetran system. |
SELECT examples
- get
Returns public key from SSH key pair associated with the group.
SELECT
public_key
FROM fivetran.groups.ssh_public_keys
WHERE group_id = '{{ group_id }}' -- required
;