#mohammad-ali_api

1 messages ¡ Page 1 of 1 (latest)

patent coveBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247665096436613180

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

ancient terrace
#

Hi there! Taking a look at the request you shared

#

Looks like it's not possible to create a restricted key with "read" permissions on Connected accounts

#

You'll need to use a secret key to make calls to retrieve Connected accounts

tawny crag
#

So the 'rak_accounts_kyc_basic_read' permission does not exist?

ancient terrace
#

Give me a few minutes. Going to confirm if granting read permissions to the top level "All Connect resources" makes a difference

#

Yep, okay. So there's no granular permission for just account read. You'll need to toggle on "All Connect resources"

tawny crag
#

So a restricted key with "read all connect resources" would work?

ancient terrace
#

Correct, I was just able to test this out. I recommend doing the same with a test mode restricted key so you can see it in action

tawny crag
#

I need write access to account links as I want to be able to create a connected accounts. But I do not want write access to other operations especially connected account transfers. But when i enable the top level "All connect resources" read option all sub-options are grayed out.

ancient terrace
#

I see. There's no other way around this at the moment. In order to read/retrieve Connected accounts, you'll need a restricted key with permissions to "All connect resources"

tawny crag
#

Thank you for the prompt help here!