Skip to content

Commit 05e6c19

Browse files
authored
Initial version (#1)
1 parent e91251a commit 05e6c19

35 files changed

+3543
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Starter Workflow
2+
on: [workflow_dispatch, push, pull_request]
3+
4+
jobs:
5+
call-create-github-release-workflow:
6+
uses: Keyfactor/actions/.github/workflows/github-release.yml@main
7+
8+
call-dotnet-build-and-release-workflow:
9+
needs: [call-create-github-release-workflow]
10+
uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
11+
with:
12+
release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }}
13+
release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }}
14+
release_dir: RemoteFile/bin/Release
15+
secrets:
16+
token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }}
17+
18+
call-generate-readme-workflow:
19+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
20+
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main
21+
22+
call-update-catalog-workflow:
23+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
24+
uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main
25+
secrets:
26+
token: ${{ secrets.SDK_SYNC_PAT }}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
###CURL script to create JKS certificate store type
2+
3+
###Replacement Variables - Manually replace these before running###
4+
# {URL} - Base URL for your Keyfactor deployment
5+
# {UserName} - User name with access to run Keyfactor APIs
6+
# {UserPassword} - Password for the UserName above
7+
8+
curl -X POST {URL}/keyfactorapi/certificatestoretypes -H "Content-Type: application/json" -H "x-keyfactor-requested-with: APIClient" -u {UserName}:{UserPassword} -d '{
9+
"Name": "RFJKS",
10+
"ShortName": "RFJKS",
11+
"Capability": "RFJKS",
12+
"ServerRequired": true,
13+
"BlueprintAllowed": false,
14+
"CustomAliasAllowed": "Required",
15+
"PowerShell": false,
16+
"PrivateKeyAllowed": "Optional",
17+
"SupportedOperations": {
18+
"Add": true,
19+
"Create": true,
20+
"Discovery": true,
21+
"Enrollment": false,
22+
"Remove": true
23+
},
24+
"PasswordOptions": {
25+
"Style": "Default",
26+
"EntrySupported": false,
27+
"StoreRequired": true
28+
},
29+
"Properties": [
30+
{
31+
"Name": "LinuxFilePermissionsOnStoreCreation",
32+
"DisplayName": "Linux File Permissions on Store Creation",
33+
"Required": false,
34+
"DependsOn": "",
35+
"Type": "String",
36+
"DefaultValue": ""
37+
}
38+
],
39+
"EntryParameters": []
40+
}'
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
###CURL script to create PEM certificate store type
2+
3+
###Replacement Variables - Manually replace these before running###
4+
# {URL} - Base URL for your Keyfactor deployment
5+
# {UserName} - User name with access to run Keyfactor APIs
6+
# {UserPassword} - Password for the UserName above
7+
8+
curl -X POST {URL}/keyfactorapi/certificatestoretypes -H "Content-Type: application/json" -H "x-keyfactor-requested-with: APIClient" -u {UserName}:{UserPassword} -d '{
9+
"Name": "RFPEM",
10+
"ShortName": "RFPEM",
11+
"Capability": "RFPEM",
12+
"ServerRequired": true,
13+
"BlueprintAllowed": false,
14+
"CustomAliasAllowed": "Forbidden",
15+
"PowerShell": false,
16+
"PrivateKeyAllowed": "Optional",
17+
"SupportedOperations": {
18+
"Add": true,
19+
"Create": true,
20+
"Discovery": true,
21+
"Enrollment": false,
22+
"Remove": true
23+
},
24+
"PasswordOptions": {
25+
"Style": "Default",
26+
"EntrySupported": false,
27+
"StoreRequired": true
28+
},
29+
"Properties": [
30+
{
31+
"Name": "LinuxFilePermissionsOnStoreCreation",
32+
"DisplayName": "Linux File Permissions on Store Creation",
33+
"Required": false,
34+
"DependsOn": "",
35+
"Type": "String",
36+
"DefaultValue": ""
37+
},
38+
{
39+
"Name": "IsTrustStore",
40+
"DisplayName": "Trust Store",
41+
"Required": false,
42+
"DependsOn": "",
43+
"Type": "Bool",
44+
"DefaultValue": false
45+
},
46+
{
47+
"Name": "IncludesChain",
48+
"DisplayName": "Store Includes Chain",
49+
"Required": false,
50+
"DependsOn": "",
51+
"Type": "Bool",
52+
"DefaultValue": false
53+
},
54+
{
55+
"Name": "SeparatePrivateKeyFilePath",
56+
"DisplayName": "Separate Private Key File Location",
57+
"Required": false,
58+
"DependsOn": "",
59+
"Type": "String",
60+
"DefaultValue": ""
61+
}
62+
],
63+
"EntryParameters": []
64+
}'
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
###CURL script to create PKCS12 certificate store type
2+
3+
###Replacement Variables - Manually replace these before running###
4+
# {URL} - Base URL for your Keyfactor deployment
5+
# {UserName} - User name with access to run Keyfactor APIs
6+
# {UserPassword} - Password for the UserName above
7+
8+
curl -X POST {URL}/keyfactorapi/certificatestoretypes -H "Content-Type: application/json" -H "x-keyfactor-requested-with: APIClient" -u {UserName}:{UserPassword} -d '{
9+
"Name": "RFPkcs12",
10+
"ShortName": "RFPkcs12",
11+
"Capability": "RFPkcs12",
12+
"ServerRequired": true,
13+
"BlueprintAllowed": false,
14+
"CustomAliasAllowed": "Required",
15+
"PowerShell": false,
16+
"PrivateKeyAllowed": "Optional",
17+
"SupportedOperations": {
18+
"Add": true,
19+
"Create": true,
20+
"Discovery": true,
21+
"Enrollment": false,
22+
"Remove": true
23+
},
24+
"PasswordOptions": {
25+
"Style": "Default",
26+
"EntrySupported": false,
27+
"StoreRequired": true
28+
},
29+
"Properties": [
30+
{
31+
"Name": "LinuxFilePermissionsOnStoreCreation",
32+
"DisplayName": "Linux File Permissions on Store Creation",
33+
"Required": false,
34+
"DependsOn": "",
35+
"Type": "String",
36+
"DefaultValue": ""
37+
}
38+
],
39+
"EntryParameters": []
40+
}'

0 commit comments

Comments
 (0)