docs/replication/types/flush/Transport-User.md
# Replication - Flush Agent
## Transport User Flush Replication Agent Example
[See Documentation](https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/replication.html#Configuring%20your%20Replication%20Agents)
This example creates a Flush replication agent, with a custom transport user credentials.
~~~ puppet
aem::agent::replication::flush { 'Flush Agent' :
home => '/opt/aem',
name => 'flush',
password => 'admin',
runmode => 'author',
trans_password => 'not-the-admin-password',
trans_uri => 'http://localhost:80/dispatcher/invalidate.cache',
trans_user => 'not-the-admin-user',
username => 'admin',
}
~~~