Link Search Menu Expand Document (external link)

Configuration file


The configuration file is used mainly to provide credentials for the external APIs like S3, CyberArk, etc.

Note: Reading credentials from Environment Variables will be considered in the next milestone.


The default location of the configuration file is expected at /etc/flexible_network/flexible_network.cfg


To provide a custom config file location you can use the --config or -c CLI option


Sample configuration file

[general]
default_inventory = /etc/flexible-network/hosts

[cyberark]m
url      = https://your-cyberark-server.com
username = **********
password = **********
verify_ssl = False
concurrent_session = True
authentication_method = 'LDAP'


[rocket_chat]
url      = https://your-rocket-chat-server.com
username = **********
password = **********


[s3]
# Endpoint of Flexible Engine (Openstack based public cloud platform)
endpoint = "https://oss.eu-west-0.prod-cloud-ocb.orange-business.com"
ak       = "**********"
sk       = "**********"
region   = "default"
# region   = "eu-west-0"
bucket   = 'backup-config-eslam-5'
# Create the bucket if does NOT exist
create_bucket = True