Create a new System Key
Creates a new system key with your Fivetran account.
Request schema
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Request
The system key name within the account
The system key's expiration period
The resource type for the permission
The access level for the permission
The IDs of managed entities
The IDs of managed groups
POST /v1/system-keys HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 246
{
"name": "MySystemKey",
"expiration_period": "SIX_MONTHS",
"permissions": [
{
"resource_type": "CONNECTOR",
"access_level": "MANAGE",
"resource_filter": {
"ids": {},
"group_ids": {}
}
}
]
}
Responses
Successful response schema
Response status code
Response status text
The unique identifier for the system key within the Fivetran system
The system key name within the account
The key value of the system key
The secret value of rotated system key
The IDs of managed entities
The IDs of managed groups
The access level for the permission
The resource type for the permission
The system key creation timestamp
The system key expiration timestamp
The timestamp of last usage
The system key update timestamp
{
"code": "Success",
"message": "Operation performed.",
"data": {
"id": "key_id",
"name": "MySystemKey",
"key": "ft_rDefAFDSgFdAGdFG",
"secret": "uytFfdSfDADFgfCgFBVsdCSFg4fsGfFg87fhRuuFASuTHkETSfg",
"permissions": [
{
"resource_filter": {
"ids": {},
"group_ids": {}
},
"access_level": "MANAGE",
"resource_type": "DESTINATION"
}
],
"created_at": "2023-08-20T10:15:20.677566Z",
"expired_at": "2024-08-20T10:15:20.677566Z",
"last_used_at": "2023-08-20T10:15:20.677566Z",
"updated_at": "2023-08-20T10:15:20.677566Z"
}
}