Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API request_options=(--url=http://localhost:4446 --user=root --password=root) # store Identity Service ./deploy-identity-service.sh store-service "${request_options[@]}" --service=New-Service --service-type=OIDC # store required Identity Service using password for single-factor authentication ./deploy-identity-service.sh store-service "${request_options[@]}" --service=New-Service --service-type=LDAP --required \ --authentication-scheme=SINGLE-FACTOR # store required Identity Service using two-factor authentication ./deploy-identity-service.sh store-service "${request_options[@]}" --service=FIDO-Service --service-type=FIDO ./deploy-identity-service.sh store-service "${request_options[@]}" --service=LDAP-Service --service-type=LDAP --required --authentication-scheme=TWO-FACTOR |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API
request_options=(--url=http://localhost:4446 --user=root --password=root) # store Identity Service
# create Identity Service using password for single-factor authentication
./deploy-identity-service.sh store-service "${request_options[@]}" --service=My-Service --service-type=LDAP --required \
--authentication-scheme=SINGLE-FACTOR
# create roles
./deploy-identity-service.sh store-role "${request_options[@]}" --service=My-Service --role=developer
./deploy-identity-service.sh store-role "${request_options[@]}" --service=My-Service --role=operator
# assign permissions to roles
./deploy-identity-service.sh set-permission "${request_options[@]}" --service=My-Servicde --role=developer \
--permission='sos:products:joc:administration:view','sos:products:joc:auditlog:view','sos:products:joc:calendars:view','sos:products:joc:cluster','sos:products:joc:inventory','sos:products:controller:view','sos:products:controller:agents:view'
./deploy-identity-service.sh set-permission "${request_options[@]}" --service=My-Servicde --role=operator\
--permission='sos:products:joc:auditlog:view','sos:products:joc:calendars:view','sos:products:joc:cluster:view','sos:products:controller:view','sos:products:controller:agents:view'
# create accounts and assign to roles
./deploy-identity-service.sh store-account "${request_options[@]}" --service=My-Service --account=dev --role=developer
./deploy-identity-service.sh store-account "${request_options[@]}" --service=My-Service --account=ops --role=operator |
...
Overview
Content Tools