Skip to main content

KubernetesSecretParameterProvider

Description

Fetches parameters from files, in the format provided by Kubernetes mounted secrets. Parameter groups are indicated by a set of directories, and files within the directories map to parameter names. The content of the file becomes the parameter value. Since Kubernetes mounted Secrets are base64-encoded, the parameter provider defaults to Base64-decoding the value of the parameter from the file.

Tags

file

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Parameter Group Directories *parameter-group-directoriesA comma-separated list of directory absolute paths that will map to named parameter groups. Each directory that contains files will map to a parameter group, named after the innermost directory in the path. Files inside the directory will map to parameter names, whose values are the content of each respective file.
Parameter Value Byte Limit *parameter-value-byte-limit256 BThe maximum byte size of a parameter value. Since parameter values are pulled from the contents of files, this is a safeguard that can prevent memory issues if large files are included.
Parameter Value Encoding *parameter-value-encodingBase64
  • Base64
  • Plain text
Indicates how parameter values are encoded inside Parameter files.

State Management

This component does not store state.

Restricted

Required PermissionExplanation
read filesystemProvides operator the ability to read from any file that NiFi has access to.

System Resource Considerations

This component does not specify system resource considerations.

See Also