Application Connections
List Application Connections
Command
files-cli application-connections list
Output
Outputs a list of ApplicationConnection objects according to the output format.
Authorization Requirement
Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.
Additional Arguments
Show Application Connection
Command
files-cli application-connections find
Output
Outputs a ApplicationConnection object according to the output format.
Authorization Requirement
Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.
Flags
| Flag | Description |
|---|---|
| --id= int64 Required | Application Connection ID. |
Create Application Connection
Command
files-cli application-connections create
Output
Outputs a ApplicationConnection object according to the output format.
Authorization Requirement
Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.
Flags
| Flag | Default | Description |
|---|---|---|
| --name= string Required | Connection display name. | |
| --secret-id= int64 | ID of the credential in the Secret Store, if the connection uses a credential. | |
| --application-key= string Required | Application key from the Automation applications list. | |
| --origin= string Required | HTTPS origin for this connection. | |
| --workspace-id= int64 | 0 | Workspace that owns this connection. |
Update Application Connection
Command
files-cli application-connections update
Output
Outputs a ApplicationConnection object according to the output format.
Authorization Requirement
Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.
Flags
| Flag | Description |
|---|---|
| --id= int64 Required | Application Connection ID. |
| --name= string | Connection display name. |
| --secret-id= int64 | ID of the credential in the Secret Store, if the connection uses a credential. |
Delete Application Connection
Command
files-cli application-connections delete
Output
No output is returned.
Authorization Requirement
Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.
Flags
| Flag | Description |
|---|---|
| --id= int64 Required | Application Connection ID. |
The ApplicationConnection Object
Some of the commands above return a ApplicationConnection object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| id int64 | Connection ID. |
| workspace_id int64 | Workspace that owns this connection. |
| name string | Connection display name. |
| application_key string | Application key from the Automation applications list. |
| origin string | HTTPS origin for this connection. |
| secret_id int64 | ID of the credential in the Secret Store, if the connection uses a credential. |
| authentication object | Current credential type and placement, without the secret value. |
| created_at date-time | Time the connection was created. |
| updated_at date-time | Time the connection was updated. |