Skip to content

Provide environmental variables to set the directory of Notation configuration files and plugin binary #822

@FeynmanZhou

Description

@FeynmanZhou

Is your feature request related to a problem?

There were two environmental variables NOTATION_LIBEXEC and NOTATION_CONFIG in Notation RC releases that can help users define the directory of Notation configuration files and plugin binaries respectively and pass the values to Notation in advance. See Notation directory structure for system configuration for the context. These two environmental variables were removed in RC release.

After revisiting the setup experience of notation signing and verification, it looks still useful if users want to use Notation in different OS. With these two environmental variables, users can easily define tell Notation where are the directory of Notation plugin binaries, trust policy, and key/cert files in advance. It will simplify signing and verification setup experience without manually retrieving those directory location from different operating system.

What solution do you propose?

Bring two environmental variables NOTATION_LIBEXEC and NOTATION_CONFIG back to Notation. Enable users to set the directory of Notation binaries and configuration files respectively by using these two environmental variables.

What alternatives have you considered?

NA

Any additional context?

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions