[
https://issues.apache.org/jira/browse/KNOX-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18073847#comment-18073847
]
ASF subversion and git services commented on KNOX-3299:
-------------------------------------------------------
Commit dd021c3599e5261a9f57b3841d47441813e20855 in knox's branch
refs/heads/master from Selvamohan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=dd021c359 ]
KNOX-3299: adding inline documentation for usage of env. var:
TRUSTSTORE_IMPORTS (#1201)
> 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: 0.5h
> 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)