Skip to content

Commit bf22fa3

Browse files
authored
Merge 7af67e0 into 9bad561
2 parents 9bad561 + 7af67e0 commit bf22fa3

17 files changed

+44
-156
lines changed

.github/workflows/keyfactor-extension-update-catalog.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/keyfactor-bootstrap-workflow.yml renamed to .github/workflows/keyfactor-starter-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ on:
1111

1212
jobs:
1313
call-starter-workflow:
14-
uses: keyfactor/actions/.github/workflows/starter.yml@v2
14+
uses: keyfactor/actions/.github/workflows/starter.yml@3.1.2
1515
secrets:
1616
token: ${{ secrets.V2BUILDTOKEN}}
1717
APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}}
1818
gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }}
1919
gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }}
20+
scan_token: ${{ secrets.SAST_TOKEN }}

GcpCertManager/GcpCertManager.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
<RootNamespace>Keyfactor.Extensions.Orchestrator.GcpCertManager</RootNamespace>
4+
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
5+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
76
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
7+
<ImplicitUsings>disable</ImplicitUsings>
88
</PropertyGroup>
99

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

32-
<ItemGroup>
3331
<None Update="manifest.json">
34-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
32+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
3533
</None>
3634
</ItemGroup>
3735

docsource/content.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Overview
2+
3+
The GCP Certificate Manager Orchestrator Extension remotely manages certificates on the Google Cloud Platform Certificate Manager Product.
4+
5+
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.
6+
7+
8+
## Requirements
9+
10+
**Google Cloud Configuration**
11+
12+
1. Read up on [Google Certificate Manager](https://cloud.google.com/certificate-manager/docs) and how it works.
13+
14+
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.
15+
![](images/ServiceAccountSettings.gif)
16+
17+
3. The following Api Access is needed:
18+
![](images/ApiAccessNeeded.gif)
19+
20+
4. If authenticating via service account, download the Json Credential file as shown below:
21+
![](images/GoogleKeyJsonDownload.gif)
22+

docsource/gcpcertmgr.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## Overview
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)