Skip to content

Commit

Permalink
SoloSign Custom Connector Submission (#3066)
Browse files Browse the repository at this point in the history
* SoloSign Custom Connector Submission

* updated readme file
  • Loading branch information
cueup authored Nov 11, 2023
1 parent 5d3d8aa commit 165d32a
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 0 deletions.
28 changes: 28 additions & 0 deletions certified-connectors/SoloSign/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SoloSign API

SoloSign HMAC Hash creator, securely encode your private data, streamline your flows and apps.

## Solort

## Prerequisites
Authentication is a crucial part of using the SoloSign API. To access our API, you need to include your API key in the request header.

Contact our team to obtain an API key https://solort.com/solosign

## Supported Operations
SoloSign is a powerful API that allows you to generate HMAC signatures for your data. It is designed to provide a secure way to sign and authenticate your requests.

### Operation 1
Enter your SoloSign API key

### Operation 2
Enter your request data and signing key and trigger and API call to return a signed signature.

## Obtaining Credentials
Contact our team to obtain an API key https://solort.com/solosign

## Known Issues and Limitations
API calls and limited based on your license type and the quantity of call available by your API key.

## Deployment Instructions
Search for the SoloSign connector in the reposoitory, add it to your flow, pass in your request data and SoloSign will generate your signature.
156 changes: 156 additions & 0 deletions certified-connectors/SoloSign/apiDefinition.swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"swagger": "2.0",
"info": {
"title": "SoloSign HMAC Hash Creator",
"description": "Securely encode your private data, streamline your flows and apps. Generate SHA, BASE64, MD5, BLAKE2 hash digest and more.",
"version": "1.0",
"contact": {
"name": "Solort Support",
"url": "https://solort.com/contact",
"email": "[email protected]"
}
},
"host": "solosignapi.solort.com",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/generate-hmac": {
"post": {
"responses": {
"default": {
"description": "default",
"schema": {}
}
},
"summary": "Create HMAC",
"description": "Create a Hash based message authentication code HMAC using a secret key",
"operationId": "CreateHMAC",
"x-ms-visibility": "important",
"parameters": [
{
"name": "Content-Type",
"in": "header",
"required": true,
"type": "string",
"default": "application/json",
"x-ms-visibility": "internal"
},
{
"name": "body",
"in": "body",
"required": false,
"schema": {
"type": "object",
"properties": {
"request_string": {
"type": "string",
"description": "Data to be hash signed",
"title": "Data",
"x-ms-visibility": "important"
},
"secret_key": {
"type": "string",
"description": "You key to sign the hash",
"title": "Key",
"x-ms-visibility": "important"
},
"output_format": {
"type": "string",
"description": "Select a output type, default is base64",
"title": "Output Type",
"x-ms-visibility": "important",
"enum": [
"hex",
"base32",
"base64",
"base64url",
"hash"
]
},
"encode_type": {
"type": "string",
"description": "Default value is utf-8",
"title": "Encoding Type",
"x-ms-visibility": "important",
"enum": [
"utf-7",
"utf-8",
"utf-32",
"ascii",
"unicode"
]
},
"hash_algorithm": {
"type": "string",
"description": "Select a hash algorithm, default is sha256",
"title": "Hash Digest",
"x-ms-visibility": "important",
"enum": [
"sha1",
"sha224",
"sha256",
"sha384",
"sha512",
"sha3_224",
"sha3_256",
"sha3_384",
"sha3_512",
"shake_128",
"shake_256",
"blake2b",
"blake2s",
"md5"
]
}
},
"x-ms-visibility": "important",
"required": [
"request_string",
"secret_key"
]
},
"x-ms-visibility": "important"
}
]
}
}
},
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://solort.com"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://solort.com/terms"
},
{
"propertyName": "Categories",
"propertyValue": "Data;Website"
}
],
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {
"API Key": {
"type": "apiKey",
"in": "header",
"name": "X-Api-Key"
}
},
"security": [
{
"API Key": []
}
],
"tags": []
}
37 changes: 37 additions & 0 deletions certified-connectors/SoloSign/apiProperties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"properties": {
"capabilities": ["actions"],
"publisher":"Solort",
"stackOwner":"Solort",
"connectionParameters": {
"api_key": {
"type": "securestring",
"uiDefinition": {
"constraints": {
"clearText": false,
"required": "true",
"tabIndex": 2
},
"description": "The KEY to use this API. You can get one from https://solort.com/solosign",
"displayName": "API KEY",
"tooltip": "Provide your API KEY"
}
}
},
"iconBrandColor": "#0384e1",
"scriptOperations": [
"postCall"
],
"policyTemplateInstances": [
{
"title": "MyPolicy",
"templateId": "setqueryparameter",
"parameters": {
"x-ms-apimTemplateParameter.name": "queryParameterName",
"x-ms-apimTemplateParameter.value": "queryParameterValue",
"x-ms-apimTemplateParameter.existsAction": "override"
}
}
]
}
}

0 comments on commit 165d32a

Please sign in to comment.