Hey folks, how are you? By your recommendation w...
# ask-a-descoper
s
Hey folks, how are you? By your recommendation we've added a process of exporting all our projects (with settings, tenants, flows, etc) Our gaps are things like SSO settings, etc which requires Access key with Full access - and we don't want an access key which is over privileged. What are our options?
m
you mean manage tenant SSO settings "as code" ?
s
no, as a backup files, in case we have issues and we want to import from a backup and return all the settings like they were before
m
there is API+ SDK to load SSO settings for tenant https://docs.descope.com/api/management/tenants/sso/load-sso-settings
did you try using mgmt key with read only for that:
s
yes, it's failing 😕 on error 403
Copy code
Failed to fetch SSO settings for tenant T3BiGVu9vsSnpEP7W1GcXSyRmYGz: HTTP 403: error code: 1010
m
@Bhagwanta Yeole can you follow up here ?
👀 1
b
Can you please DM your project ID to check the logs?
✅ 1