Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

46551 update store types #79

Merged
merged 10 commits into from
Aug 25, 2023
27 changes: 27 additions & 0 deletions .github/workflows/keyfactor-merge-store-types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Keyfactor Merge Cert Store Types
on: [workflow_dispatch]

jobs:
get-manifest-properties:
runs-on: windows-latest
outputs:
update_catalog: ${{ steps.read-json.outputs.update_catalog }}
integration_type: ${{ steps.read-json.outputs.integration_type }}
steps:
- uses: actions/checkout@v3
- name: Store json
id: read-json
shell: pwsh
run: |
$json = Get-Content integration-manifest.json | ConvertFrom-Json
$myvar = $json.update_catalog
echo "update_catalog=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
$myvar = $json.integration_type
echo "integration_type=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append

call-update-store-types-workflow:
needs: get-manifest-properties
if: needs.get-manifest-properties.outputs.integration_type == 'orchestrator' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: Keyfactor/actions/.github/workflows/update-store-types.yml@main
secrets:
token: ${{ secrets.UPDATE_STORE_TYPES }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ The Windows Certificate Store Orchestrator Extension implements two certificate

#### Integration status: Production - Ready for use in production environments.


## About the Keyfactor Universal Orchestrator Extension

This repository contains a Universal Orchestrator Extension which is a plugin to the Keyfactor Universal Orchestrator. Within the Keyfactor Platform, Orchestrators are used to manage “certificate stores” — collections of certificates and roots of trust that are found within and used by various applications.
Expand All @@ -15,6 +16,7 @@ The Universal Orchestrator is the successor to the Windows Orchestrator. This Or




---


Expand Down
124 changes: 66 additions & 58 deletions integration-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"supportsInventory": false,
"platformSupport": "Unused"
},
"store_types": {
"WinCert": {
"Name": "WinCert",
"store_types": [
{
"Name": "Windows Certificate",
"ShortName": "WinCert",
"Capability": "WinCert",
"LocalStore": false,
Expand All @@ -51,18 +51,18 @@
},
{
"Name": "WinRM Protocol",
"DisplayName": "WinRm Protocol",
"DisplayName": "WinRM Protocol",
"Type": "MultipleChoice",
"DependsOn": "",
"DefaultValue": "http, https",
"DefaultValue": "https,http",
"Required": true
},
{
"Name": "WinRm Port",
"DisplayName": "WinRm Port",
"Name": "WinRM Port",
"DisplayName": "WinRM Port",
"Type": "String",
"DependsOn": "",
"DefaultValue": "5985",
"DefaultValue": "5986",
"Required": true
},
{
Expand Down Expand Up @@ -93,14 +93,17 @@
"EntryParameters": [
{
"Name": "ProviderName",
"DisplayName": "Provider Name",
"DisplayName": "Crypto Provider Name",
"Type": "String",
"RequiredWhen": {
"HasPrivateKey": false,
"OnAdd": false,
"OnRemove": false,
"OnReenrollment": false
}
},
"DependsOn": "",
"DefaultValue": "",
"Options": ""
},
{
"Name": "SAN",
Expand All @@ -111,28 +114,26 @@
"OnAdd": false,
"OnRemove": false,
"OnReenrollment": true
}
},
"DependsOn": "",
"DefaultValue": "",
"Options": ""
}
],
"PasswordOptions": {
"EntrySupported": false,
"StoreRequired": false,
"Style": "Default"
},
"StorePathValue": "",
"PrivateKeyAllowed": "Required",
"JobProperties": [
"ProviderName",
"SAN"
],
"ServerRequired": true,
"PowerShell": false,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Forbidden",
"ServerRegistration": 7,
"InventoryEndpoint": "/AnyInventory/Update"
"CustomAliasAllowed": "Forbidden"
},
"IISU": {
"Name": "IISU",
{
"Name": "IIS Bound Certificate",
"ShortName": "IISU",
"Capability": "IISU",
"LocalStore": false,
Expand All @@ -146,26 +147,26 @@
"Properties": [
{
"Name": "spnwithport",
"DisplayName": "SPN With Port?",
"DisplayName": "SPN With Port",
"Type": "Bool",
"DependsOn": "",
"DefaultValue": "false",
"Required": false
},
{
"Name": "WinRM Protocol",
"Name": "WinRm Protocol",
"DisplayName": "WinRm Protocol",
"Type": "MultipleChoice",
"DependsOn": "",
"DefaultValue": "http,https",
"DefaultValue": "https,http",
"Required": true
},
{
"Name": "WinRm Port",
"DisplayName": "WinRm Port",
"Type": "String",
"DependsOn": "",
"DefaultValue": "5985",
"DefaultValue": "5986",
"Required": true
},
{
Expand All @@ -186,7 +187,7 @@
},
{
"Name": "ServerUseSsl",
"DisplayName": "Use SSL?",
"DisplayName": "Use SSL",
"Type": "Bool",
"DependsOn": "",
"DefaultValue": "true",
Expand All @@ -195,28 +196,32 @@
],
"EntryParameters": [
{
"Name": "IPAddress",
"DisplayName": "IP Address",
"Name": "Port",
"DisplayName": "Port",
"Type": "String",
"RequiredWhen": {
"HasPrivateKey": false,
"OnAdd": true,
"OnRemove": true,
"OnReenrollment": true
"OnAdd": false,
"OnRemove": false,
"OnReenrollment": false
},
"DefaultValue": "*"
"DependsOn": "",
"DefaultValue": "443",
"Options": ""
},
{
"Name": "Port",
"DisplayName": "Port",
"Name": "IPAddress",
"DisplayName": "IP Address",
"Type": "String",
"RequiredWhen": {
"HasPrivateKey": false,
"OnAdd": true,
"OnRemove": true,
"OnReenrollment": true
},
"DefaultValue": "443"
"DependsOn": "",
"DefaultValue": "*",
"Options": ""
},
{
"Name": "HostName",
Expand All @@ -227,31 +232,38 @@
"OnAdd": false,
"OnRemove": false,
"OnReenrollment": false
}
},
"DependsOn": "",
"DefaultValue": "",
"Options": ""
},
{
"Name": "SiteName",
"DisplayName": "Site Name",
"DisplayName": "IIS Site Name",
"Type": "String",
"RequiredWhen": {
"HasPrivateKey": false,
"OnAdd": true,
"OnRemove": true,
"OnReenrollment": true
},
"DefaultValue": "Default Web Site"
"DependsOn": "",
"DefaultValue": "Default Web Site",
"Options": ""
},
{
"Name": "SniFlag",
"DisplayName": "SNI Flag",
"Type": "String",
"DisplayName": "SNI Support",
"Type": "MultipleChoice",
"RequiredWhen": {
"HasPrivateKey": false,
"OnAdd": false,
"OnRemove": false,
"OnReenrollment": false
},
"DefaultValue": "0 - No SNI"
"DependsOn": "",
"DefaultValue": "0 - No SNI",
"Options": "0 - No SNI,1 - SNI Enabled,2 - Non SNI Binding,3 - SNI Binding"
},
{
"Name": "Protocol",
Expand All @@ -263,19 +275,23 @@
"OnRemove": true,
"OnReenrollment": true
},
"DependsOn": "",
"DefaultValue": "https",
"Options": "http, https"
"Options": "https,http"
},
{
"Name": "ProviderName",
"DisplayName": "Provider Name",
"DisplayName": "Crypto Provider Name",
"Type": "String",
"RequiredWhen": {
"HasPrivateKey": false,
"OnAdd": false,
"OnRemove": false,
"OnReenrollment": false
}
},
"DependsOn": "",
"DefaultValue": "",
"Options": ""
},
{
"Name": "SAN",
Expand All @@ -285,8 +301,11 @@
"HasPrivateKey": false,
"OnAdd": false,
"OnRemove": false,
"OnReenrollment": true
}
"OnReenrollment": false
},
"DependsOn": "",
"DefaultValue": "",
"Options": ""
}
],
"PasswordOptions": {
Expand All @@ -296,23 +315,12 @@
},
"StorePathValue": "[\"My\",\"WebHosting\"]",
"PrivateKeyAllowed": "Required",
"JobProperties": [
"IPAddress",
"Port",
"HostName",
"SiteName",
"SniFlag",
"Protocol",
"ProviderName",
"SAN"
],
"ServerRequired": true,
"PowerShell": false,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Forbidden",
"InventoryEndpoint": "/AnyInventory/Update"
"CustomAliasAllowed": "Forbidden"
}
}
]
}
}
}
Loading
Loading