Click here to Skip to main content
15,905,323 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,

How can we connect db using ARN (Amazon Resource Name) key?

How to implement it in connection string and INI file?

While using ARN key we dont need password?

What I have tried:

Try to implement the ARN key in INI file without password. It is not working.
Posted
Updated 6-Aug-21 4:02am
Comments
Richard MacCutchan 6-Aug-21 7:43am    
"Try to implement the ARN key in INI file without password."
Give the thousands of possible ways you could do that, we are unlikely to be able to guess which one you used.
"It is not working."
Nor can we guess what that could mean.
Member 10556393 6-Aug-21 8:55am    
Thank you for your response. Please give some possible ways or links?
Richard MacCutchan 6-Aug-21 9:08am    
To what? As I said, we have no idea what your code is doing or what problems you have encountered.

1 solution

To add to what Richard has said:
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with. So we have no idea what your existing code looks like, what it does that you didn't expect (or not do that you did), what error message you might get, where you are stuck, what help you actually need.

In software, there isn't "one way to do this" - there are different ways depending on environment (a web solution will be radically different from a WinForms solution for example), on the version of VB you are using, on your skill level - and then you can multiply that number by the number of developers that actually want to do the same thing!

So saying "It is not working" is meaningless - it tells up nothing we didn't know purely because you are asking a question!

There is nowhere near enough information here for us to begin to help you - we have no idea what you are trying to do, or where you are starting from. We don't even have any idea where you are stuck, or what help you might need - and that's kinda important, don't you think?

Start here: Asking questions is a skill[^] and think about what you need to know, and what you need to tell us in order to get help.
 
Share this answer
 
Comments
Member 10556393 8-Aug-21 2:40am    
Hi,

Thank you and apology for my unclear question.

Currently I am working in Migration project. It is Visual basic application. Database is Sql server. Database connection strings are declared in INI (text) file and configured with Visual basic coding.

Client expectation is to migrate the on premise database to AWS RDS. Our DevOps team clearly said that they are not provide password to access the database even for INI file also and using AWS ARN (Amazon Resource Name) key only we can connect database manually to sql server or through application also.

I am stuck here only that How can I connect sql server database using AWS ARN key through visual basic application. I am not able to get help from my organization because this is the first migration project using AWS ARN key and I am the only person working in visual basic and sql server. This is the help I need from Codeproject team. Please ask if you need more clarification.

Thank You.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900