web stats
How to access Azure key vault to get the access token using Mirth. - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2018, 03:57 AM
asaxena asaxena is offline
Mirth Newb
 
Join Date: Jun 2017
Posts: 15
asaxena is on a distinguished road
Default How to access Azure key vault to get the access token using Mirth.

Hi All,

Can someone please help me to find out a way to access Azure key vault for getting the access token using Mirth then further use it to put the file in blob storage. I was able to upload the file after hard coding the key in channel itself, but because of security reason we are going to use azure key vault for access token. I cant find out any resource which is helpful for me this time.

Thanks in advance!
Reply With Quote
  #2  
Old 12-10-2018, 02:31 AM
asaxena asaxena is offline
Mirth Newb
 
Join Date: Jun 2017
Posts: 15
asaxena is on a distinguished road
Post

So no one has worked on this stuff.
Reply With Quote
  #3  
Old 12-10-2018, 05:04 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,005
agermano is on a distinguished road
Default

Are you using the Java API? You might want to look for Java examples. It usually isn't that hard to translate Java examples to Javascript for mirth.

Another option would be to put the key in the configurationMap instead of hard-coding it in the channel.
Reply With Quote
  #4  
Old 12-13-2018, 10:55 PM
asaxena asaxena is offline
Mirth Newb
 
Join Date: Jun 2017
Posts: 15
asaxena is on a distinguished road
Default

Hi Agermano,

Thanks for your response, I tried to gather some info about MSI and found that there in no need of using a key if the MSI is enabled on VM where mirth is installed and from where we are trying to make a request to access azure blob. When we make a request to cloud it will provide us a token which can be used to access the Blob storage. This is what I understand so far. Correct me if I am wrong.
At this point the place where I am stuck is that I found the reference in .Net but couldn't find Java related stuff. Also I am not very good in java as not a java resource.
As of now I using the same approach as you mentioned, putting the key in configurationMap and using it so the project work can move forward but next phase would be to use MSI. This is the reason I am trying to find a efficient way to do it.

Thanks!
Reply With Quote
Reply

Tags
azure, cloud, general, important, mirth support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation