Vault Admin User
Moderator: SourceGear
Vault Admin User
When you install Vault and use SQL Authentication you are prompted to enter a password for the admin account. This I did.
But I noticed that in vault's web.config file the name sgvaultuser was added to the connection string with an encrypted password.
Is this the same user as 'admin'?
Is this user sgvaultuser impersonating the admin user?
Is this why I had to run the special query to grant this user access to sgvault?
Thanks
btd
But I noticed that in vault's web.config file the name sgvaultuser was added to the connection string with an encrypted password.
Is this the same user as 'admin'?
Is this user sgvaultuser impersonating the admin user?
Is this why I had to run the special query to grant this user access to sgvault?
Thanks
btd
Re: Vault Admin User
No. admin is a Vault account. sgvaultuser is a SQL Server account.btd wrote:Is this the same user as 'admin'?
Only a Windows account can be used for impersonation. Neither the Vault Admin account nor the SQL Server sgvaultuser account qualifies for impersonation.btd wrote:Is this user sgvaultuser impersonating the admin user?
I'm not sure what you are referring to for this question.btd wrote:Is this why I had to run the special query to grant this user access to sgvault?
Jeff Clausius
SourceGear
SourceGear
Vault Admin User
What I am trying to ask is...
Is Vault creating 'sgvaultuser' user?
I ask this becuase on a clean install, if I choose SQL Account, the Vault web.config file creates the connection string using this name as the User ID.
Prior to installation, this name 'sgvaultuser' did not appear anywhere and Vault never asked me for what name I wanted to use. So I'm wondering if I have any control over this name.
btd
Is Vault creating 'sgvaultuser' user?
I ask this becuase on a clean install, if I choose SQL Account, the Vault web.config file creates the connection string using this name as the User ID.
Prior to installation, this name 'sgvaultuser' did not appear anywhere and Vault never asked me for what name I wanted to use. So I'm wondering if I have any control over this name.
btd
Re: Vault Admin User
The Vault server installation is creating this, yes.btd wrote:Is Vault creating 'sgvaultuser' user?
It is possible to change, but doing so might have negative side effects on other scripts looking for sgvaultuser within the sgvault database.btd wrote:I'm wondering if I have any control over this name.
The use of the sgvaultuser account is a conscious decision of Vault. The sgvaultuser account is limited to certain rights on only the sgvault database. Using a different account might create security risks to other databases within SQL Server.
Jeff Clausius
SourceGear
SourceGear
Security in Vault
So if Vault is creating this user, then can you tell me what kind of account this is? As I don't see it when I launch SQL Server Enterprise manager, user section.
Thanks
btd
Thanks
btd
-
- Posts: 2
- Joined: Wed Jan 25, 2006 5:59 am
In a case like this, you'll have to use plain text passwords in the connect string.
So after Vault has been set up by your provider, edit web.config of the Vault server. Change the UID=NEW_USER_ID;PASSWORD=PLAIN_TEXT_PASSWORD
Note the use of PASSWORD. We've set up the Vault server so connect strings can work either way. PWD is for encrypted passwords and PASSWORD is for plain text passwords.
So after Vault has been set up by your provider, edit web.config of the Vault server. Change the UID=NEW_USER_ID;PASSWORD=PLAIN_TEXT_PASSWORD
Note the use of PASSWORD. We've set up the Vault server so connect strings can work either way. PWD is for encrypted passwords and PASSWORD is for plain text passwords.
Jeff Clausius
SourceGear
SourceGear