Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/keyfactor-starter-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Starter Workflow
on: [workflow_dispatch, push, pull_request]

jobs:
call-create-github-release-workflow:
uses: Keyfactor/actions/.github/workflows/github-release.yml@main

call-dotnet-build-and-release-workflow:
needs: [call-create-github-release-workflow]
uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
with:
release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }}
release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }}
release_dir: RemoteFile/bin/Release
secrets:
token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }}

call-generate-readme-workflow:
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main

call-update-catalog-workflow:
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main
secrets:
token: ${{ secrets.SDK_SYNC_PAT }}
40 changes: 40 additions & 0 deletions Certificate Store Type CURL Scripts/JKS.curl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
###CURL script to create JKS certificate store type

###Replacement Variables - Manually replace these before running###
# {URL} - Base URL for your Keyfactor deployment
# {UserName} - User name with access to run Keyfactor APIs
# {UserPassword} - Password for the UserName above

curl -X POST {URL}/keyfactorapi/certificatestoretypes -H "Content-Type: application/json" -H "x-keyfactor-requested-with: APIClient" -u {UserName}:{UserPassword} -d '{
"Name": "RFJKS",
"ShortName": "RFJKS",
"Capability": "RFJKS",
"ServerRequired": true,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Required",
"PowerShell": false,
"PrivateKeyAllowed": "Optional",
"SupportedOperations": {
"Add": true,
"Create": true,
"Discovery": true,
"Enrollment": false,
"Remove": true
},
"PasswordOptions": {
"Style": "Default",
"EntrySupported": false,
"StoreRequired": true
},
"Properties": [
{
"Name": "LinuxFilePermissionsOnStoreCreation",
"DisplayName": "Linux File Permissions on Store Creation",
"Required": false,
"DependsOn": "",
"Type": "String",
"DefaultValue": ""
}
],
"EntryParameters": []
}'
64 changes: 64 additions & 0 deletions Certificate Store Type CURL Scripts/PEM.curl
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
###CURL script to create PEM certificate store type

###Replacement Variables - Manually replace these before running###
# {URL} - Base URL for your Keyfactor deployment
# {UserName} - User name with access to run Keyfactor APIs
# {UserPassword} - Password for the UserName above

curl -X POST {URL}/keyfactorapi/certificatestoretypes -H "Content-Type: application/json" -H "x-keyfactor-requested-with: APIClient" -u {UserName}:{UserPassword} -d '{
"Name": "RFPEM",
"ShortName": "RFPEM",
"Capability": "RFPEM",
"ServerRequired": true,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Forbidden",
"PowerShell": false,
"PrivateKeyAllowed": "Optional",
"SupportedOperations": {
"Add": true,
"Create": true,
"Discovery": true,
"Enrollment": false,
"Remove": true
},
"PasswordOptions": {
"Style": "Default",
"EntrySupported": false,
"StoreRequired": true
},
"Properties": [
{
"Name": "LinuxFilePermissionsOnStoreCreation",
"DisplayName": "Linux File Permissions on Store Creation",
"Required": false,
"DependsOn": "",
"Type": "String",
"DefaultValue": ""
},
{
"Name": "IsTrustStore",
"DisplayName": "Trust Store",
"Required": false,
"DependsOn": "",
"Type": "Bool",
"DefaultValue": false
},
{
"Name": "IncludesChain",
"DisplayName": "Store Includes Chain",
"Required": false,
"DependsOn": "",
"Type": "Bool",
"DefaultValue": false
},
{
"Name": "SeparatePrivateKeyFilePath",
"DisplayName": "Separate Private Key File Location",
"Required": false,
"DependsOn": "",
"Type": "String",
"DefaultValue": ""
}
],
"EntryParameters": []
}'
40 changes: 40 additions & 0 deletions Certificate Store Type CURL Scripts/PKCS12.curl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
###CURL script to create PKCS12 certificate store type

###Replacement Variables - Manually replace these before running###
# {URL} - Base URL for your Keyfactor deployment
# {UserName} - User name with access to run Keyfactor APIs
# {UserPassword} - Password for the UserName above

curl -X POST {URL}/keyfactorapi/certificatestoretypes -H "Content-Type: application/json" -H "x-keyfactor-requested-with: APIClient" -u {UserName}:{UserPassword} -d '{
"Name": "RFPkcs12",
"ShortName": "RFPkcs12",
"Capability": "RFPkcs12",
"ServerRequired": true,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Required",
"PowerShell": false,
"PrivateKeyAllowed": "Optional",
"SupportedOperations": {
"Add": true,
"Create": true,
"Discovery": true,
"Enrollment": false,
"Remove": true
},
"PasswordOptions": {
"Style": "Default",
"EntrySupported": false,
"StoreRequired": true
},
"Properties": [
{
"Name": "LinuxFilePermissionsOnStoreCreation",
"DisplayName": "Linux File Permissions on Store Creation",
"Required": false,
"DependsOn": "",
"Type": "String",
"DefaultValue": ""
}
],
"EntryParameters": []
}'
Loading