Skip to content

Commit

Permalink
ab#68542b
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Fine committed Feb 19, 2025
1 parent 99d02d4 commit 23687a7
Show file tree
Hide file tree
Showing 12 changed files with 257 additions and 349 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/keyfactor-merge-store-types.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/keyfactor-starter-workflow.yml
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 }}
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
1.0.0
v1.1.0
- Bug fix to return true for private key entry during inventory
- Add dual build for .net6/8
- Convert README to use doctool

v1.0.0
- Initial release
13 changes: 7 additions & 6 deletions DellIdrac/DellIDRACOrchestrator.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<TargetFramework>net6.0</TargetFramework>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<ImplicitUsings>disable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Keyfactor.Logging" Version="1.1.1" />
<PackageReference Include="Keyfactor.Orchestrators.IOrchestratorJobExtensions" Version="0.7.0" />
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="echo F | xcopy &quot;$(ProjectDir)manifest.json&quot; &quot;$(TargetDir)\manifest.json&quot; /Y" />
</Target>
<None Update="manifest.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion DellIdrac/IdracClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ internal List<CurrentInventoryItem> GetCerts(int i)
{
Alias = $"{i}.{Array.IndexOf(certs, c)}",
Certificates = new List<string>() { c },
PrivateKeyEntry = false
PrivateKeyEntry = true
}).ToList();
}
catch (Exception e)
Expand Down
317 changes: 194 additions & 123 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 Integrated Dell Remote Access Controller (iDRAC) Orchestrator Extension supports the following use cases:

- Inventorying the iDRAC instance's server certificate and importing it into Keyfactor Command for management
- Adding or Replacing an existing or newly enrolled certificate and private key to an existing iDRAC instance. To replace an existing server certificate, the Ovewrite flag in Keyfactor Command must be selected.

Use cases NOT supported by the iDRAC Orchestrator Extension:

- Removing a server certificate from an iDRAC instance.
- Inventorying or Managing any other certificate type on an iDRAC intance.

Special Notes:
* When adding or replacing the server certificate, there will be a few minute delay as the iDRAC instance will restart. As a result, it may take a few minutes before the new certificate is reflected in subsequent Inventory jobs.
* When replacing an existing server certificate, the Overwrite checkbox must be selected/checked. When this checkbox is selected, Keyfactor Command may require you to enter an alias. This alias is not used by the orchestrator extension, so just enter any value.


## Requirements

1. The Orchestrator must run on a Windows Server machine with the [Racadm CLI utility](https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=8gmf6) installed, configured to reach the target iDRAC instance. The Orchestrator must have read and write access to the folder where racadm.exe is installed.
2. A user id must be set up in iDRAC with minimum privileges of "Configure". This will be used by the Racadm utility to manage the store.
1 change: 1 addition & 0 deletions docsource/idrac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Overview
42 changes: 25 additions & 17 deletions integration-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,12 @@
"link_github": true,
"update_catalog": true,
"release_dir": "DellIdrac/bin/Release",
"release_project": "DellIdrac/DellIDRACOrchestrator.csproj",
"about": {
"orchestrator": {
"UOFramework": "10.4",
"keyfactor_platform_version": "10.3",
"pam_support": true,
"win": {
"supportsCreateStore": false,
"supportsDiscovery": false,
"supportsManagementAdd": true,
"supportsManagementRemove": false,
"supportsReenrollment": false,
"supportsInventory": true
},
"linux": {
"supportsCreateStore": false,
"supportsDiscovery": false,
"supportsManagementAdd": false,
"supportsManagementRemove": false,
"supportsReenrollment": false,
"supportsInventory": false
},
"store_types": [
{
"Name": "iDRAC",
Expand All @@ -42,7 +27,30 @@
"Enrollment": false,
"Remove": false
},
"Properties": [],
"Properties": [
{
"Name": "ServerUsername",
"DisplayName": "Server Username",
"Type": "Secret",
"DependsOn": "",
"DefaultValue": "",
"Required": true,
"IsPAMEligible": true,
"Description": "The user ID (or, if using a PAM provider, the key pointing to the user ID) to log into the iDRAC instance being managed."
},
{
"Name": "ServerPassword",
"DisplayName": "Server Password",
"Type": "Secret",
"DependsOn": "",
"DefaultValue": "",
"Required": true,
"IsPAMEligible": true,
"Description": "The password (or, if using a PAM provider, the key pointing to the password) for the user ID above."
}
],
"ClientMachineDescription": "The IP address of the iDRAC instance being managed.",
"StorePathDescription": "Enter the full path where the Racadm executable is installed on the orchestrator server. See [Requirements & Prerequisites](#requirements-&-prerequisites) above for more details.",
"EntryParameters": [],
"PasswordOptions": {
"EntrySupported": false,
Expand Down
5 changes: 0 additions & 5 deletions readme-src/readme-pam-support.md

This file was deleted.

106 changes: 0 additions & 106 deletions readme_source.md

This file was deleted.

62 changes: 0 additions & 62 deletions store-type.json

This file was deleted.

0 comments on commit 23687a7

Please sign in to comment.