Skip to content

Commit

Permalink
Merge pull request #17 from Keyfactor/pan_feedback
Browse files Browse the repository at this point in the history
Pan feedback 2
  • Loading branch information
spbsoluble authored Apr 20, 2023
2 parents 0de9060 + 8272065 commit cbd53a8
Show file tree
Hide file tree
Showing 10 changed files with 936 additions and 245 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ The secrets that this orchestrator extension supports for use with a PAM Provide
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ServerUsername | Must be set to `kubeconfig` if used. If you do not set it to `kubeconfig` the `ServerPassword` will be ignored. |
| ServerPassword | Must be set if `ServerUsername` is provided. The service account credentials for the Universal Orchestrator to use. Must be in `kubeconfig` format. For more information review [Kubernetes service account](https://github.com/Keyfactor/kubernetes-orchestrator/blob/main/scripts/kubernetes/README.md) docs and scripts. |
| KubeSvcCreds | This overrides the `ServerPassword` value. If set, the Universal Orchestrator will use the service account credentials from the specified Kubernetes secret. |


It is not necessary to use a PAM Provider for all of the secrets available above. If a PAM Provider should not be used, simply enter in the actual value to be used, as normal.
Expand Down Expand Up @@ -531,11 +530,11 @@ certificate stores and scheduling Discovery jobs in Keyfactor Command.
## Certificate Inventory
In order for certificates to be inventoried by the Keyfactor k8s-orchestrator, they must have specific keys and values in the Kubernetes Secret. The following table shows the required keys and values for each type of certificate store.

| Store Type | Valid Secret Keys |
|------------|-------------------------------------------------------------------------------------|
| K8STLSSecr | `tls.crt`,`tls.key` |
| K8SSecret | `tls.crts`, `cert`, `certs`, `certificate`, `certificates`, `crt`, `crts`, `ca.crt` |
| K8SCert | `cert`, `csr` |
| Store Type | Valid Secret Keys |
|------------|-----------------------------------------------------------------------------------------------|
| K8STLSSecr | `tls.crt`,`tls.key` |
| K8SSecret | `tls.crt`,`tls.crts`, `cert`, `certs`, `certificate`, `certificates`, `crt`, `crts`, `ca.crt` |
| K8SCert | `cert`, `csr` |

## Certificate Management
Management add/remove/create operations will attempt to write back to the Kubernetes Secret.
Expand Down
33 changes: 3 additions & 30 deletions integration-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,6 @@
"DependsOn": "",
"DefaultValue": "cert",
"Required": true
},
{
"StoreTypeId;omitempty": 0,
"Name": "KubeSvcCreds",
"DisplayName": "KubeSvcCreds",
"Type": "String",
"DependsOn": "",
"DefaultValue": null,
"Required": true
}
],
"EntryParameters": [],
Expand All @@ -103,7 +94,7 @@
"StorePathValue": "",
"PrivateKeyAllowed": "Forbidden",
"JobProperties": [],
"ServerRequired": false,
"ServerRequired": true,
"PowerShell": false,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Forbidden"
Expand Down Expand Up @@ -147,15 +138,6 @@
"DependsOn": "",
"DefaultValue": "secret",
"Required": true
},
{
"StoreTypeId;omitempty": 0,
"Name": "KubeSvcCreds",
"DisplayName": "KubeSvcCreds",
"Type": "String",
"DependsOn": "",
"DefaultValue": null,
"Required": true
}
],
"EntryParameters": [],
Expand All @@ -168,7 +150,7 @@
"StorePathValue": "",
"PrivateKeyAllowed": "Optional",
"JobProperties": [],
"ServerRequired": false,
"ServerRequired": true,
"PowerShell": false,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Forbidden"
Expand Down Expand Up @@ -212,15 +194,6 @@
"DependsOn": "",
"DefaultValue": "tls_secret",
"Required": true
},
{
"StoreTypeId;omitempty": 0,
"Name": "KubeSvcCreds",
"DisplayName": "KubeSvcCreds",
"Type": "String",
"DependsOn": "",
"DefaultValue": null,
"Required": true
}
],
"EntryParameters": [],
Expand All @@ -233,7 +206,7 @@
"StorePathValue": "",
"PrivateKeyAllowed": "Optional",
"JobProperties": [],
"ServerRequired": false,
"ServerRequired": true,
"PowerShell": false,
"BlueprintAllowed": false,
"CustomAliasAllowed": "Forbidden"
Expand Down
Loading

0 comments on commit cbd53a8

Please sign in to comment.