Skip to content

Commit

Permalink
Ab#63123 (#19)
Browse files Browse the repository at this point in the history
* Fixed Inventory Issue
  • Loading branch information
bhillkeyfactor authored Sep 26, 2024
1 parent 0e09f4e commit 1590b12
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 60 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/keyfactor-bootstrap-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Keyfactor Bootstrap Workflow

on:
workflow_dispatch:
pull_request:
types: [opened, closed, synchronize, edited, reopened]
push:
create:
branches:
- 'release-*.*'

jobs:
call-starter-workflow:
uses: keyfactor/actions/.github/workflows/starter.yml@v2
secrets:
token: ${{ secrets.V2BUILDTOKEN}}
APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}}
gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }}
gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }}
26 changes: 0 additions & 26 deletions .github/workflows/keyfactor-starter-workflow.yml

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1.0.8
* Inventory Fix "did not find ending '-'"

1.0.7
* Initial Version
2 changes: 1 addition & 1 deletion GcpApigee/Client/GcpApigeeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public List<Certificate> List(string storePath)
var aliases = GetAliases(storePath);
Logger.LogTrace($"Got Aliases : {JsonConvert.SerializeObject(aliases)}");
// For each alias, create an object containing the certificate portion of the alias as a PEM
certsFound.AddRange(aliases.Select(alias => GetCertificate(alias, storePath)).Select(ConvertToPem));
certsFound.AddRange(aliases.Select(alias => GetCertificate(alias, storePath)));
Logger.LogTrace("Added Range...");
}
else
Expand Down
29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@

# Remote GCP Apigee

Apigee is a Google Cloud Platform (GCP) software product for developing and managing APIs. The remote GCP Apigee Orchestrator allows for the remote management of Apigee certificate stores. Inventory and Management functions are supported. The Orchestrator performs operations utilizing the Apigee REST API.

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

## About the Keyfactor Universal Orchestrator Capability
## 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” &mdash; collections of certificates and roots of trust that are found within and used by various applications.

The Universal Orchestrator is part of the Keyfactor software distribution and is available via the Keyfactor customer portal. For general instructions on installing Extensions, see the “Keyfactor Command Orchestrator Installation and Configuration Guide” section of the Keyfactor documentation. For configuration details of this specific Extension see below in this readme.

The Universal Orchestrator is the successor to the Windows Orchestrator. This Orchestrator Extension plugin only works with the Universal Orchestrator and does not work with the Windows Orchestrator.

This repository contains a Universal Orchestrator Capability which is a plugin to the Keyfactor Universal Orchestrator. Within the Keyfactor Platform, Orchestrators are used to manage “certificate stores” &mdash; collections of certificates and roots of trust that are found within and used by various applications.
## Support for Remote GCP Apigee

The Universal Orchestrator is part of the Keyfactor software distribution and is available via the Keyfactor customer portal. For general instructions on installing Capabilities, see the “Keyfactor Command Orchestrator Installation and Configuration Guide” section of the Keyfactor documentation. For configuration details of this specific Capability, see below in this readme.
Remote GCP Apigee is supported by Keyfactor for Keyfactor customers. If you have a support issue, please open a support ticket via the Keyfactor Support Portal at https://support.keyfactor.com

###### To report a problem or suggest a new feature, use the **[Issues](../../issues)** tab. If you want to contribute actual bug fixes or proposed enhancements, use the **[Pull requests](../../pulls)** tab.

---

The Universal Orchestrator is the successor to the Windows Orchestrator. This Capability plugin only works with the Universal Orchestrator and does not work with the Windows Orchestrator.

---



## Keyfactor Version Supported

The minimum version of the Keyfactor Universal Orchestrator Framework needed to run this version of the extension is 10.1
## Platform Specific Notes

The Keyfactor Universal Orchestrator may be installed on either Windows or Linux based platforms. The certificate operations supported by a capability may vary based what platform the capability is installed on. The table below indicates what capabilities are supported based on which platform the encompassing Universal Orchestrator is running.
Expand All @@ -25,13 +38,16 @@ The Keyfactor Universal Orchestrator may be installed on either Windows or Linux
|Supports Management Remove|&check; | |
|Supports Create Store|&check; | |
|Supports Discovery| | |
|Supports Renrollment| | |
|Supports Reenrollment| | |
|Supports Inventory|&check; | |





---


**Remote GCP Apigee**

**Overview**
Expand Down Expand Up @@ -172,3 +188,6 @@ Case Number|Case Name|Case Description|Overwrite Flag?|Trust Store?|Keystore Exi
19|Create Key Store|This will test creating a Key Store in Apigee|N/A|False|False|N/A|N/A|TC17|KS5|Key Store is created in Apigee|True|![](images/TC19Results.gif)


When creating cert store type manually, that store property names and entry parameter names are case sensitive


103 changes: 75 additions & 28 deletions integration-manifest.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,77 @@
{
"$schema": "https://keyfactor.github.io/integration-manifest-schema.json",
"integration_type": "orchestrator",
"name": "Remote GCP Apigee",
"status": "production",
"link_github": true,
"description": "Apigee is a Google Cloud Platform (GCP) software product for developing and managing APIs. The remote GCP Apigee Orchestrator allows for the remote management of Apigee certificate stores. Inventory and Management functions are supported. The Orchestrator performs operations utilizing the Apigee REST API.",
"about": {
"orchestrator": {
"win": {
"supportsCreateStore": true,
"supportsDiscovery": false,
"supportsManagementAdd": true,
"supportsManagementRemove": true,
"supportsReenrollment": false,
"supportsInventory": true,
"platformSupport": "Unused"
},
"linux": {
"supportsCreateStore": false,
"supportsDiscovery": false,
"supportsManagementAdd": false,
"supportsManagementRemove": false,
"supportsReenrollment": false,
"supportsInventory": false,
"platformSupport": "Unused"
}
}
}
"$schema": "https://keyfactor.github.io/integration-manifest-schema.json",
"integration_type": "orchestrator",
"name": "Remote GCP Apigee",
"status": "production",
"link_github": true,
"update_catalog": true,
"support_level": "kf-supported",
"release_dir": "GcpApigee/bin/Release/netcoreapp3.1",
"description": "Apigee is a Google Cloud Platform (GCP) software product for developing and managing APIs. The remote GCP Apigee Orchestrator allows for the remote management of Apigee certificate stores. Inventory and Management functions are supported. The Orchestrator performs operations utilizing the Apigee REST API.",
"about": {
"orchestrator": {
"keyfactor_platform_version": "9.1.0",
"UOFramework": "10.1",
"win": {
"supportsCreateStore": true,
"supportsDiscovery": false,
"supportsManagementAdd": true,
"supportsManagementRemove": true,
"supportsReenrollment": false,
"supportsInventory": true,
"platformSupport": "Unused"
},
"linux": {
"supportsCreateStore": false,
"supportsDiscovery": false,
"supportsManagementAdd": false,
"supportsManagementRemove": false,
"supportsReenrollment": false,
"supportsInventory": false,
"platformSupport": "Unused"
},
"Name": "Google Cloud Proivder Apigee",
"ShortName": "GcpApigee",
"Capability": "GcpApigee",
"LocalStore": false,
"SupportedOperations": {
"Add": true,
"Create": true,
"Discovery": false,
"Enrollment": false,
"Remove": true
},
"Properties": [
{
"Name": "isTrustStore",
"DisplayName": "Is Trust Store?",
"Type": "Bool",
"DependsOn": null,
"DefaultValue": "false",
"Required": true
},
{
"Name": "jsonKey",
"DisplayName": "Json Key File",
"Type": "Secret",
"DependsOn": null,
"DefaultValue": null,
"Required": true
}
],
"EntryParameters": [],
"PasswordOptions": {
"EntrySupported": false,
"StoreRequired": false,
"Style": "Default"
},
"PrivateKeyAllowed": "Optional",
"JobProperties": [],
"ServerRequired": false,
"PowerShell": false,
"BlueprintAllowed": true,
"CustomAliasAllowed": "Required",
"InventoryEndpoint": "/AnyInventory/Update"
}
}
}

0 comments on commit 1590b12

Please sign in to comment.