Before you create a PingOne sync destination, make certain you have the following information ready:
- Environment ID (environment-id)
- OAuth client ID (oauth-client-id)
- OAuth client secret (oauth-client-secret)
For information about obtaining these values, see "Create a worker application" in Worker application.
The following sample creates a PingOne sync destination.
dsconfig create-sync-destination \
--destination-name PingOne \
--type ping-one-customer \
--set api-url:https://api.pingone.com/v1 \
--set auth-url:https://auth.pingone.com/[PING_ONE_ENV_ID]/as/token \
--set environment-id:[PING_ONE_ENV_ID] \
--set oauth-client-id:[PING_ONE_OAUTH_CLIENT_ID] \
--set oauth-client-secret:[PING_ONE_OAUTH_CLIENT_SECRET]