-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ab#46718 2.0 Feature Set Complete (#20)
* Kv sub path support (#12) * updated to support 2 store types. HCVKV and HCV. * Updated to distinguish between multiple supported store types. * updated doc to reflect multiple store type configs. * removed sensitive info from tracelog. * Removed KEY_SECRET from PutCertificate Task * Modified PutCertificate to include ---BEGIN ----END banners (for key+cert) * Allows Cert Stores to be allow a boolean value for SubfolderInventory. Allows inventory to be done on a root storepath and all of the component/subdirectories. Included documentation update to README.md * Adding InputValidation for KeyValue secrets * Update generated README * Include pem chain (#17) * Fixed store path and mount point mapping * Fixed issue with path not being resolved before attempting to write cert. * Allows for Recursive subfolder inventory * Update readme to call out cert store limits * Adding InputValidation for KeyValue secrets * including certificate chain when enrolling via platform. * added flag on store type to indicate whether to include cert chain * fixed issue when checking for revocation time for inventory. * Combine chain certs (#19) * updated documentation to store Vault token as a secret instead of plain string. * Updated property names. now including full chain in ca_chain field. * fixed issue with revocation time check. * updated fields. the full chain is now stored in certificate if selected. * Fixed issue where improperly formatted secrets would cause inventory to bail. * Update changelog version info * updated integration manifest * Update generated README * Create keyfactor-merge-store-types.yml --------- Co-authored-by: Joe VanWanzeele <[email protected]> Co-authored-by: Keyfactor <[email protected]> Co-authored-by: Michael Henderson <[email protected]> Co-authored-by: JoeKF <[email protected]>
- Loading branch information
1 parent
df02b3c
commit 7f756a6
Showing
26 changed files
with
1,097 additions
and
480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Keyfactor Merge Cert Store Types | ||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
get-manifest-properties: | ||
runs-on: windows-latest | ||
outputs: | ||
update_catalog: ${{ steps.read-json.outputs.update_catalog }} | ||
integration_type: ${{ steps.read-json.outputs.integration_type }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Store json | ||
id: read-json | ||
shell: pwsh | ||
run: | | ||
$json = Get-Content integration-manifest.json | ConvertFrom-Json | ||
$myvar = $json.update_catalog | ||
echo "update_catalog=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append | ||
$myvar = $json.integration_type | ||
echo "integration_type=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append | ||
call-update-store-types-workflow: | ||
needs: get-manifest-properties | ||
if: needs.get-manifest-properties.outputs.integration_type == 'orchestrator' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') | ||
uses: Keyfactor/actions/.github/workflows/update-store-types.yml@main | ||
secrets: | ||
token: ${{ secrets.UPDATE_STORE_TYPES }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
/hashicorp-vault-orchestrator/hashicorp-vault-orchestrator.csproj.user | ||
.vs | ||
*.licenseheader | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## 2.0.0 | ||
|
||
* Added support for storing certs in sub-paths | ||
* Updated documentation to specify storing the token as a secret. | ||
* Added inventory job support for the Hashicorp PKI secrets engine | ||
* Added inventory job support for the Keyfactor secrets engine | ||
|
||
* **Breaking Change**: the properties have been renamed from: | ||
* `PUBLIC_KEY` to `certificate` | ||
* `PRIVATE_KEY` to `private_key` | ||
* `PUBLIC_KEY_<n>` has been removed. Now the chain is stored in `certificate` if the option is selected. | ||
|
||
* **Breaking Change**: Added a flag on the Keyfactor Certificate store definition to indicate whether to store the full CA chain along with the certificate | ||
|
||
|
||
* **Breaking Change**: the cert store types are now: | ||
* **HCVPKI** for the PKI and Keyfactor secrets engine | ||
* **HCVKV** for the Key-Value secrets engine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.