/opt/sas/viya/home/bin/sas-bootstrap-config --output json catalog service NOM_DU_SERVICE
Exemple :
Extraire toute la configuration :
1
2
3
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
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
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
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







