Skip to main content

entities

Creates, updates, deletes, gets or lists an entities resource.

Overview​

Nameentities
TypeResource
Idfivetran.external_secrets_managers.entities

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the source connection or destination. (example: connection_id)
namestringThe schema name of the source connection, or the name of the destination group. (example: my_schema)
secret_manager_idstringThe unique identifier of the External Secrets Manager instance. (example: lucky_tiger)
created_atstring (date-time)Timestamp when the entity was created (example: 2024-01-01T00:00:00Z)
enabledbooleanWhether the source connection or destination is currently active and connected.
typestringThe type of entity using this External Secrets Manager. Possible values: SOURCE, DESTINATION. (SOURCE, DESTINATION) (example: SOURCE)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_esmselectesm_idtypeReturns a list of source connections and destinations that are using a specific External Secrets Manager.
listselectesm_id, typeReturns a list of all source connections and destinations that are using any External Secrets Manager within your Fivetran account.

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.

NameDatatypeDescription
esm_idstringThe unique identifier of the External Secrets Manager instance.
esm_idstringFilter by a specific External Secrets Manager ID.
typestringFilter by entity type. Accepted values are source, destination, or all.

SELECT examples​

Returns a list of source connections and destinations that are using a specific External Secrets Manager.

SELECT
id,
name,
secret_manager_id,
created_at,
enabled,
type
FROM fivetran.external_secrets_managers.entities
WHERE esm_id = '{{ esm_id }}' -- required
AND type = '{{ type }}'
;