Skip to content

Commit

Permalink
Merge e0c1ce5 into 9bad561
Browse files Browse the repository at this point in the history
  • Loading branch information
leefine02 authored Jan 31, 2025
2 parents 9bad561 + e0c1ce5 commit 93c8bd6
Show file tree
Hide file tree
Showing 18 changed files with 266 additions and 245 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
312 changes: 223 additions & 89 deletions README.md

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions docsource/content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## 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.
![](docsource/images/ServiceAccountSettings.gif)

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

4. If authenticating via service account, download the Json Credential file as shown below:
![](docsource/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
Binary file removed images/CertStoreSettings.gif
Binary file not shown.
Binary file removed images/CertStoreType-Advanced.gif
Binary file not shown.
Binary file removed images/CertStoreType-Basic.gif
Binary file not shown.
Binary file removed images/CertStoreType-CustomField-Location.gif
Binary file not shown.
Binary file not shown.
Binary file removed images/CertStoreType-CustomFields.gif
Binary file not shown.
Binary file removed images/CertStoreType-EntryParameters.gif
Binary file not shown.
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 93c8bd6

Please sign in to comment.