The token_file parameter can be used in place of the token parameter for applicable types. This allows for the provider to function without the token value being known to the master, or being known during catalog compilation.
To avoid code duplication, this was implemented with a mixin.
The purpose of this is to allow the types/providers to be used in circumstances where the api token is unknown to Puppet (not in Hiera, not in a fact) but is or will be available at the time of catalog application in a file.
The token_file parameter can be used in place of the token parameter for applicable types. This allows for the provider to function without the token value being known to the master, or being known during catalog compilation.
To avoid code duplication, this was implemented with a mixin.
The purpose of this is to allow the types/providers to be used in circumstances where the api token is unknown to Puppet (not in Hiera, not in a fact) but is or will be available at the time of catalog application in a file.