puppet-swift/manifests/proxy/keymaster.pp
Jake Yip 7f1a945550 Add keymaster middleware
Add support for configuring swift-proxy keymaster middleware. The
keymaster middleware handles keys for swift encryption[1].

[1] https://docs.openstack.org/swift/latest/overview_encryption.html

Change-Id: Ic6c34c5381eb4f57642493b5acf127dba4f7834e
2024-06-10 02:31:21 +09:00

25 lines
471 B
Puppet

#
# Configure Swift Keymaster middleware.
#
# == Examples
#
# include swift::proxy::keymaster
#
# == Parameters
#
# [*encryption_root_secret*]
# Encryption root secret value.
#
class swift::proxy::keymaster (
$encryption_root_secret,
) {
include swift::deps
swift_proxy_config {
'filter:keymaster/use': value => 'egg:swift#keymaster';
'filter:keymaster/encryption_root_secret': value => $encryption_root_secret, secret => true;
}
}