You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Selvamohan Neethiraj (Jira)" <ji...@apache.org> on 2026/04/15 15:48:00 UTC

[jira] [Work started] (KNOX-3299) Document TRUSTSTORE_IMPORTS environment variable usage within startup script

     [ https://issues.apache.org/jira/browse/KNOX-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KNOX-3299 started by Selvamohan Neethiraj.
--------------------------------------------------
> Document TRUSTSTORE_IMPORTS environment variable usage within startup script
> ----------------------------------------------------------------------------
>
>                 Key: KNOX-3299
>                 URL: https://issues.apache.org/jira/browse/KNOX-3299
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: docker
>            Reporter: Selvamohan Neethiraj
>            Assignee: Selvamohan Neethiraj
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Following the implementation of $KNOX-3297$, which added support for dynamic truststore imports via environment variables, there is a need to provide inline documentation within the script itself. This ensures that users can correctly configure the variable without referring back to external Jira logs or source code.
> h3. *Technical Details*
> The script should be updated to include the definition, format, and an example of the {{TRUSTSTORE_IMPORTS}} variable.
> *Variable Definition:*
> {{TRUSTSTORE_IMPORTS}} (Optional): A string containing one or more certificate import mappings.
> *Format:*
> {{{aliasIdForImport:PEMEncodedTrustCertificateFileLocation}}} separated by spaces.
> ----
> h3. *Proposed Script Documentation Block*
> {code:java}
> # - TRUSTSTORE_IMPORTS - (optional) - a string containing one or more of the following: 
> #   {aliasIdForImport:PEMEncodedTrustCertificateFileLocation} separated by space(s).
> #
> #   Example: 
> #   TRUSTSTORE_IMPORTS="myRootCA:/mountedpath/cert.pem myBizPartnerCA:/path/partner.pem"
> #
> #   Description:
> #   This will import the specified certificates into the truststore JKS with the 
> #   provided alias name(s) during the container startup process.{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)