-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Impemented trusted.extensions support
Also, Hiera Editor now submits CSR with pp_project = "hiera_editor" so it could be easily authenticated by extensions.pp_project field in the certificate Fixed hierarchy resolving
- Loading branch information
Showing
11 changed files
with
305 additions
and
173 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
export const CERTIFICATE_EXTENSIONS: {[key: string]: string} = { | ||
"1.3.6.1.4.1.34380.1.1.1": "pp_uuid", | ||
"1.3.6.1.4.1.34380.1.1.2": "pp_instance_id", | ||
"1.3.6.1.4.1.34380.1.1.3": "pp_image_name", | ||
"1.3.6.1.4.1.34380.1.1.4": "pp_preshared_key", | ||
"1.3.6.1.4.1.34380.1.1.5": "pp_cost_center", | ||
"1.3.6.1.4.1.34380.1.1.6": "pp_product", | ||
"1.3.6.1.4.1.34380.1.1.7": "pp_project", | ||
"1.3.6.1.4.1.34380.1.1.8": "pp_application", | ||
"1.3.6.1.4.1.34380.1.1.9": "pp_service", | ||
"1.3.6.1.4.1.34380.1.1.10": "pp_employee", | ||
"1.3.6.1.4.1.34380.1.1.11": "pp_created_by", | ||
"1.3.6.1.4.1.34380.1.1.12": "pp_environment", | ||
"1.3.6.1.4.1.34380.1.1.13": "pp_role", | ||
"1.3.6.1.4.1.34380.1.1.14": "pp_software_version", | ||
"1.3.6.1.4.1.34380.1.1.15": "pp_department", | ||
"1.3.6.1.4.1.34380.1.1.16": "pp_cluster", | ||
"1.3.6.1.4.1.34380.1.1.17": "pp_provisioner", | ||
"1.3.6.1.4.1.34380.1.1.18": "pp_region", | ||
"1.3.6.1.4.1.34380.1.1.19": "pp_datacenter", | ||
"1.3.6.1.4.1.34380.1.1.20": "pp_zone", | ||
"1.3.6.1.4.1.34380.1.1.21": "pp_network", | ||
"1.3.6.1.4.1.34380.1.1.22": "pp_securitypolicy", | ||
"1.3.6.1.4.1.34380.1.1.23": "pp_cloudplatform", | ||
"1.3.6.1.4.1.34380.1.1.24": "pp_apptier", | ||
"1.3.6.1.4.1.34380.1.1.25": "pp_hostname" | ||
}; | ||
|
||
export const HIERA_EDITOR_FIELD = "1.3.6.1.4.1.34380.1.1.7"; | ||
export const HIERA_EDITOR_VALUE = "hiera_editor"; |
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.