sas-bootstrap-config : Afficher la configuration d’un service VIYA
/opt/sas/viya/home/bin/sas-bootstrap-config –output json catalog service NOM_DU_SERVICE Exemple :
1 2 3 |
source /opt/sas/viya/config/consul.conf export CONSUL_TOKEN=$(cat /opt/sas/viya/config/etc/SASSecurityCertificateFramework/tokens/consul/default/management.token) /opt/sas/viya/home/bin/sas-bootstrap-config --output json catalog service casproxy |
Extraire toute la configuration :
1 2 3 |
source /opt/sas/viya/config/consul.conf export CONSUL_TOKEN=$(cat /opt/sas/viya/config/etc/SASSecurityCertificateFramework/tokens/consul/default/management.token) /opt/sas/viya/home/bin/sas-bootstrap-config kv read --recurse config |