Skip to content

Commit

Permalink
Merge 960b146 into 9bad561
Browse files Browse the repository at this point in the history
  • Loading branch information
leefine02 authored Jan 31, 2025
2 parents 9bad561 + 960b146 commit 1152c93
Show file tree
Hide file tree
Showing 17 changed files with 44 additions and 156 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/keyfactor-extension-update-catalog.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ on:

jobs:
call-starter-workflow:
uses: keyfactor/actions/.github/workflows/starter.yml@v2
uses: keyfactor/actions/.github/workflows/starter.yml@3.1.2
secrets:
token: ${{ secrets.V2BUILDTOKEN}}
APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}}
gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }}
gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }}
scan_token: ${{ secrets.SAST_TOKEN }}
10 changes: 4 additions & 6 deletions GcpCertManager/GcpCertManager.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Keyfactor.Extensions.Orchestrator.GcpCertManager</RootNamespace>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<ImplicitUsings>disable</ImplicitUsings>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand All @@ -27,11 +27,9 @@
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
<PackageReference Include="RestSharp" Version="107.2.1" />
<PackageReference Include="System.Management.Automation" Version="7.0.5" />
</ItemGroup>

<ItemGroup>
<None Update="manifest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

Expand Down
22 changes: 22 additions & 0 deletions docsource/content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Overview

The GCP Certificate Manager Orchestrator Extension remotely manages certificates on the Google Cloud Platform Certificate Manager Product

This orchestrator extension implements three job types – Inventory, Management Add, and Management Remove. Below are the steps necessary to configure this Orchestrator Extension. It supports adding certificates with private keys only. The GCP Certificate Manager Orchestrator Extension supports the replacement of unbound certificates as well as certificates bound to existing map entries, but it does **not** support specifying map entry bindings when adding new certificates.


## Requirements

**Google Cloud Configuration**

1. Read up on [Google Certificate Manager](https://cloud.google.com/certificate-manager/docs) and how it works.

2. Either a Google Service Account is needed with the following permissions (Note: Workload Identity Management Should be used but at the time of the writing it was not available in the .net library yet), or the virtual machine running the Keyfactor Orchestrator Service must reside within Google Cloud.
![](images/ServiceAccountSettings.gif)

3. The following Api Access is needed:
![](images/ApiAccessNeeded.gif)

4. If authenticating via service account, download the Json Credential file as shown below:
![](images/GoogleKeyJsonDownload.gif)

1 change: 1 addition & 0 deletions docsource/gcpcertmgr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Overview
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
39 changes: 15 additions & 24 deletions integration-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,15 @@
"support_level": "kf-supported",
"link_github": true,
"release_dir": "GcpCertManager/bin/release",
"release_project": "GcpCertManager/GcpCertManager.csproj",
"description": "Google Certificate Manager Orchestrator for Add, Remove and Inventory.",
"about": {
"orchestrator": {
"UOFramework": "10.4.1",
"keyfactor_platform_version": "9.1.0",
"pam_support": false,
"win": {
"supportsCreateStore": false,
"supportsDiscovery": false,
"supportsManagementAdd": true,
"supportsManagementRemove": true,
"supportsReenrollment": false,
"supportsInventory": true,
"platformSupport": "Unused"
},
"linux": {
"supportsCreateStore": false,
"supportsDiscovery": false,
"supportsManagementAdd": true,
"supportsManagementRemove": true,
"supportsReenrollment": false,
"supportsInventory": true,
"platformSupport": "Unused"
},
"store_types": {
"GcpCertMgr": {
"store_types": [
{
"Name": "GCP Certificate Manager",
"ShortName": "GcpCertMgr",
"Capability": "GcpCertMgr",
Expand Down Expand Up @@ -62,20 +45,28 @@
"Type": "String",
"DependsOn": "",
"DefaultValue": "global",
"Required": true
"Required": true,
"IsPAMEligible": true,
"Description": "**global** is the default but could be another region based on the project."

},
{
"Name": "ServiceAccountKey",
"DisplayName": "Service Account Key File Path",
"Type": "String",
"DependsOn": "",
"DefaultValue": null,
"Required": false
"DefaultValue": "",
"Required": false,
"IsPAMEligible": false,
"Description": "The tional field blank if the Keyfactor Orchestrator Service is running from an authenticated VM within Google Cloud."

}
],
"ClientMachineDescription": "GCP Project ID for your account.",
"StorePathDescription": "This is not used and should be defaulted to n/a per the certificate store type set up.",
"EntryParameters": []
}
}
]
}
}
}
91 changes: 0 additions & 91 deletions readme_source.md

This file was deleted.

0 comments on commit 1152c93

Please sign in to comment.