Tines · Schema
Tines Credential
A Tines credential resource for securely storing secrets used by actions
Security AutomationNo-CodeWorkflow AutomationSecurity OperationsSOARIncident ResponseREST APIWebhooks
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique credential identifier |
| name | string | Credential name |
| mode | string | Credential type |
| team_id | integer | ID of the team that owns the credential |
| folder_id | integernull | ID of the folder containing the credential |
| read_access | string | Access control level for the credential |
| shared_team_slugs | array | Team slugs for SPECIFIC_TEAMS access |
| slug | string | URL-friendly identifier |
| description | string | |
| allowed_hosts | array | Domains where this credential can be used |
| metadata | object | Key-value metadata for the credential |
| owner | object | Creator details |
| expires_at | stringnull | Expiration timestamp |
| expiry_notifications_enabled | boolean | |
| credential_notification_recipient_user_ids | array | |
| aws_authentication_type | string | AWS authentication method (when mode is AWS) |
| aws_assumed_role_external_id | string | Generated external ID for AWS role assumption |
| use_static_external_id | boolean | |
| created_at | string | |
| updated_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/tines/main/json-schema/tines-credential-schema.json",
"title": "Tines Credential",
"description": "A Tines credential resource for securely storing secrets used by actions",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Unique credential identifier"
},
"name": {
"type": "string",
"description": "Credential name"
},
"mode": {
"type": "string",
"enum": ["AWS", "TEXT", "HTTP_REQUEST_AGENT", "JWT", "OAUTH2", "MTLS"],
"description": "Credential type"
},
"team_id": {
"type": "integer",
"description": "ID of the team that owns the credential"
},
"folder_id": {
"type": ["integer", "null"],
"description": "ID of the folder containing the credential"
},
"read_access": {
"type": "string",
"enum": ["TEAM", "GLOBAL", "SPECIFIC_TEAMS"],
"default": "TEAM",
"description": "Access control level for the credential"
},
"shared_team_slugs": {
"type": "array",
"items": { "type": "string" },
"description": "Team slugs for SPECIFIC_TEAMS access"
},
"slug": {
"type": "string",
"description": "URL-friendly identifier"
},
"description": {
"type": "string"
},
"allowed_hosts": {
"type": "array",
"items": { "type": "string" },
"description": "Domains where this credential can be used"
},
"metadata": {
"type": "object",
"description": "Key-value metadata for the credential"
},
"owner": {
"type": "object",
"description": "Creator details",
"properties": {
"user_id": { "type": "integer" },
"first_name": { "type": "string" },
"last_name": { "type": "string" },
"email": { "type": "string", "format": "email" }
}
},
"expires_at": {
"type": ["string", "null"],
"format": "date-time",
"description": "Expiration timestamp"
},
"expiry_notifications_enabled": {
"type": "boolean",
"default": false
},
"credential_notification_recipient_user_ids": {
"type": "array",
"items": { "type": "integer" }
},
"aws_authentication_type": {
"type": "string",
"enum": ["KEY", "ROLE", "INSTANCE_PROFILE"],
"description": "AWS authentication method (when mode is AWS)"
},
"aws_assumed_role_external_id": {
"type": "string",
"description": "Generated external ID for AWS role assumption"
},
"use_static_external_id": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"required": ["id", "name", "mode", "team_id"],
"additionalProperties": true
}