To upgrade your provisioning integration, you’ll need to deactivate your current provisioning setup, redeploy 1Password SCIM Bridge, and then reconnect your identity provider.
Step 1: Upgrade your provisioning setup
- Sign in to your account on 1Password.com, select Settings in the sidebar, then select Provisioning.
- Select Upgrade Now and enter your 1Password account password to turn off provisioning.
- Choose your identity provider from the Integrations Directory.
- Save your new
scimsessionfile and bearer token in 1Password, then select Next. - Select the account you currently use for provisioning, then select Transfer Groups. Your groups will be managed by the new provisioning integration. The current provision manager account will be suspended and will still be accessible under People.
If you skip this step, you will need to manually add your groups to User Provisioning > Managed Groups.
After you’ve updated to the provisioning integration, you’re ready to update the scimsession file on the SCIM bridge.
Tip
To prevent confusion in the future, delete your old scimsession file and bearer token. They’re no longer valid.
Step 2: Update the scimsession file
AWS Fargate
Terraform
In the directory where you saved your Terraform deployment files:
- Replace your old
scimsesssionfile with the new one. - Verify the configuration with
terraform plan, then runterraform apply.
Then reconnect your identity provider.
AWS Management Console
- Sign in to the AWS Management Console, then go to Secrets Manager .
- Select your
scimsessionsecret for 1Password from the list of secrets. - In the “Secret value” section, select Retrieve secret value. Then select Plaintext, then select Edit.
- Encode the new
scimsessionfile with Base64url encoding, then copy it and enter it into thescimsessionsecret value. - Select Save, then restart your scim-bridge container.
Then reconnect your identity provider.
Docker
If you followed the instructions from the scim-examples repository on GitHub to deploy the SCIM bridge, find the directory where your SCIM environment variable file (scim.env) is located.
Move the new scimsession file to the same folder as the scim.env file, then follow the steps for Docker Compose or Docker Swarm.
Docker Compose
Prepare the session variable:
SESSION=$(cat ./scimsession | base64 | tr -d "\n")Save the session variable to the
scim.envfile:sed -i '' -e "s/OP_SESSION=$/OP_SESSION=$SESSION/" ./scim.envRedeploy the SCIM bridge:
docker-compose -f docker-compose.yml up --build -d
Then reconnect your identity provider.
Docker Swarm
Delete the current Docker secret:
docker secret delete scimsessionCreate a new Docker secret with your new
scimsessionfile:cat ./scimsession | docker secret create scimsession -Scale the service to make sure the SCIM bridge is using the new
scimsessionfile:docker service scale op-scim-bridge=0 && sleep 3 && docker service scale op-scim-bridge=1
Then reconnect your identity provider.
Google Cloud Platform
Use the Cloud Shell on Google Cloud Platform to update the scimsession file in place:
Visit the list of Clusters on Google Cloud Platform , then select the cluster you use for the SCIM bridge.
Select Connect, then select Run in Cloud Shell.
Allow any API permissions, then press Return to connect to the cluster.
Open the new
scimsessionfile in a text editor and copy the entire contents to the clipboard.In the Cloud Shell window, save the
scimsessionfile to the cluster.Run this command, replacing
SESSIONFILEwith the contents of thescimsessionfile:echo 'SESSIONFILE' > ./scimsessionSet up Let’s Encrypt.
Run this command, replacing
scim.example.comwith the address for your SCIM bridge:kubectl set env deployment/op-scim-bridge OP_TLS_DOMAIN=scim.example.comUpdate the image for the SCIM bridge.
kubectl set image deployment/op-scim-bridge op-scim-bridge=1password/scim:v2.0.0 --recordChange “v2.0.0” in the command to the latest version.
Notify Google Cloud Platform of the update:
kubectl patch applications.app.k8s.io op-scim-bridge-1 -p='[{"op":"replace", "path":"/spec/descriptor/version", "value":"2.0.0"}]' --type='json'Change “2.0.0” in the command to the latest version.
Copy the new
scimsessionfile to the SCIM bridge:kubectl cp ./scimsession $(kubectl get pods | awk '$1 ~ /op-scim-bridge/ && 1 != /deployer/ {print $1}'):/home/scimuser/scimsessionScale the pod to make sure the SCIM bridge is using the new
scimsessionfile:kubectl scale deploy op-scim-bridge --replicas=0 && sleep 3 && kubectl scale deploy op-scim-bridge --replicas=1
Then reconnect your identity provider.
Kubernetes
If you followed the instructions from the scim-examples repository on GitHub to deploy the SCIM bridge, run the following commands on the Kubernetes cluster where the SCIM bridge is located.
Delete the current Kubernetes secret:
kubectl delete secret scimsessionCreate a new secret from the new
scimsessionfile. In the same directory as the file:kubectl create secret generic scimsession --from-file=./scimsessionScale the pod to make sure the SCIM bridge is using the new
scimsessionfile:kubectl scale deploy op-scim-bridge --replicas=0 && sleep 3 && kubectl scale deploy op-scim-bridge --replicas=1If you set up the SCIM bridge before October 2020, change
op-scim-bridgetoop-scimin this command.
Then reconnect your identity provider.
Step 3: Reconnect your identity provider
Microsoft Entra ID
On the 1Password Business application details page:
- Select Provisioning in the sidebar, then select Edit Provisioning.
- Select Admin Credentials and replace the Secret Token with your new OAuth bearer token.
- Select Test Connection, then select Save if the test is successful and close the page.
- From the Provisioning page, select Restart Provisioning, then select OK. The SCIM bridge will begin provisioning again soon.
JumpCloud
On the 1Password Business application configuration panel:
- Select Identity Management.
- Turn off Enable management of User Groups and Group Membership in this application.
- Enter the URL of your SCIM bridge and your new OAuth bearer token, then select Activate.
- Turn on Enable management of User Groups and Group Membership in this application again, then select Save.
Okta
On the 1Password Business application details page:
- Select Provisioning, then select Integration. Select Edit.
- Replace the API Token with your new OAuth bearer token. Select Test API Credentials, then select Save if the test is successful.
OneLogin
On the 1Password Business application settings page:
- Select Configuration.
- Replace the SCIM Bearer Token with your new OAuth bearer token, then select Save.
Rippling
On the 1Password application details page:
- Select Settings, then from the Sync section, select the link to update your credentials.
- Select Modify Setup. Add your new
scimsessionfile and replace the 1Password bearer token with your new OAuth bearer token, then select Upload.
Get help
Get help with 1Password SCIM Bridge, like if you lose your bearer token or session file, or if you use two-factor authentication.
For more information about upgrading to the provisioning integration, contact your 1Password Business representative. To get help and share feedback, join the discussion with the 1Password Support Community.