Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Connecting to UAT environment from DevTest Environment and KeyVault Secrets

Posted on by 4
Hello, I have been working on debugging a UAT environment through a DevTest environment and had some issues with encryption. I have checked through this post here:
Encryption error while debugging UAT environment from Devtest environment (dynamics.com)

I see that importing in secrets between environments isn't possible since that's a Microsoft limitation currently. In this case however, since the Devtest environment is connecting to the UAT database rather than importing the data, I would have thought the secrets could carry over in this way. Correct me if I am wrong, but is there still a way to get around the issue of having to re-enter in secrets when connecting through Devtest? Thanks in advance.
  • Connecting to UAT environment from DevTest Environment and KeyVault Secrets
    Hello,
     
    the link should be updated properly now, not sure why it wasn't working before.
    Thanks for the response, that clears up a lot for me. Currently both environments should be using the same keys from the same keyvault. When you say connection will require the appropriate credentials, shouldn't this follow those conditions then? Or is the encryption still going to be different?
  • Connecting to UAT environment from DevTest Environment and KeyVault Secrets
  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    Connecting to UAT environment from DevTest Environment and KeyVault Secrets
    hey!
     
    The link you've shared seems broken.  However, and as a general Security behavior:  If environment 1 is encrypted with some credentials/key, any kind of access to this data either from another environment or from a tool that will simply connect, will require to decrypt such data with the right key.  Other environments most likely will NOT be encrypted the same way or with same key.  Therefore, you should use the appropriate credentials/Key to access the data on it.
     
    This is valid to connect/read the data from that environment.  Even if it's another environment on the same tenant, the condition should still apply:  Connection will require the appropriate key/Credentials.
     
    Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans