YAML examples for MongoDB
MongoDB target with a separate authentication database
yaml
- target: production_mongo
type: MONGO
name: Production MongoDB
host: mongo.example.com
port: "27017"
database: myapp
auth_source: admin
auth:
username: deploy_user
password: $password
proxy: my_ssh_bastion
tags:
- mongodb
Minimal
yaml
- target: production_mongo
type: MONGO
host: mongo.example.com
auth:
username: deploy_user
password: $password