Skip to content
Snippets Groups Projects
config.yaml.sample 2.25 KiB
Newer Older
  • Learn to ignore specific revisions
  • # Make sure you have a "config.yaml" file on the root folder of this repo
    
    # You can use this sample YAML file to configure your installation
    
    # Connection Information
    dataStorageUrl: localhost:7777
    grpcListenAddress: localhost:7877
    restListenAddress: localhost:7878
    
    
    Olgun Cengiz's avatar
    Olgun Cengiz committed
    # VIAM Variables
    viamUUID: viam-system
    viamSession: viam-session
    
    
    Olgun Cengiz's avatar
    Olgun Cengiz committed
    # Maximum Message Size (in megabytes)
    
    maxMessageSize: 64
    
    # Certification Access Method
    # 1 = Certificate Folder and Files
    # 2 = Vault Integration
    #certificationMethod: 1
    certificationMethod: 2
    
    # Certification URL
    # For Method 1: Can be anything (will be ignored)
    # For Method 2: IP address and port number of Vault server
    #certificationURL: localhost
    certificationURL: http://10.6.10.119:8200
    
    # Certification Token
    # For Method 1: Can be anything (will be ignored)
    # For Method 2: Vault authentication token
    #certificationToken: .
    certificationToken: YOUR_VAULT_TOKEN
    
    # Certification Path
    # For Method 1: The full path of the folder where the certificate and private key files are stored
    # For Method 2: Base mount path for certificate secrets
    #certificationPath: /home/ocengiz/Documents/Vereign/03-Codebase/cert
    certificationPath: /developers/data/devteam/cert
    
    # Certification Files
    # For Method 1: The name of the files for certification
    # For Method 2: The name of the secret keys on Vault
    #certificationCertFile: localhost.crt
    certificationCertFile: certificateKey
    #certificationKeyFile: localhost.key
    certificationKeyFile: privateKey
    #certificationCaCertFile: ca.crt
    certificationCaCertFile: caCertificateKey
    #certificationVereignCertFile: vereign_ca.cer
    certificationVereignCertFile: vereignCaCertificateKey
    
    #certificationVereignKeyFile: Not used anymore, its functionality is moved to vaultEncryptionKeyFile
    
    #possible levels: trace, info, debug, warn, error, fatal, panic
    
    globalLogLevel: debug
    
    # Until vereign root cert expires, these values will copy the values of certificationVereign(Cert|Key)File.
    # When the root cert is changed, the new root will be set in certificationVereign(Cert|Key)File,
    # while here will continue to be the old root
    
    Damyan Mitev's avatar
    Damyan Mitev committed
    vaultEncryptionURL: http://10.6.16.32:8200
    
    vaultEncryptionToken: YOUR_VAULT_TOKEN
    vaultEncryptionPath: /developers/data/devteam/cert
    
    Damyan Mitev's avatar
    Damyan Mitev committed
    vaultEncryptionCertFile: encryptionCert
    
    Damyan Mitev's avatar
    Damyan Mitev committed
    vaultEncryptionKeyFile: encryptionKey