Questions tagged [credentials]

Credentials in information systems are widely used to control access to information or other resources. The classic combination of a user account number or name and a secret password is a widely-used example of IT credentials.

Credentials in cryptography establish the identity of a party to communication. Usually they take the form of machine-readable cryptographic keys and/or passwords. Cryptographic credentials may be self-issued, or issued by a trusted third party; in many cases the only criterion for issuance is unambiguous association of the credential with a specific, real individual or other entity. Cryptographic credentials are often designed to expire after a certain period, although this is not mandatory. An x.509 certificate is an example of a cryptographic credential.

An increasing number of information systems use other forms of documentation of credentials, such as Biometrics: fingerprints, voice recognition, retinal scans, Facial recognition systems1 , or X.509, Public key certificate, and so on.

2320 questions
44
votes
9 answers

How to Specify Eclipse Proxy Authentication Credentials?

I'm using the latest version of Eclipse Galileo and I have to access the web from behind a proxy. I see where I can set the internet settings to manual and specify a proxy but there's no way to specify my authentication credentials that I can see…
jtruelove
  • 2,950
  • 3
  • 22
  • 28
42
votes
4 answers

Retrieve credentials from Windows Credentials Store using C#

I simply want to query the Credentials Store (or Vault as it is called in Windows 8) and get the login data. MSDN is really unhelpful in this case, and I also do not want any C++ P/Invoke approaches. I know that similar questions have been asked…
Kirschi
  • 966
  • 3
  • 10
  • 28
41
votes
5 answers

What is the default user and password for elasticsearch?

I have installed Elastic with Docker: docker run -p 9200:9200 \ -p 9300:9300 \ -e "discovery.type=single-node" \ docker.elastic.co/elasticsearch/elasticsearch:5.6.2 But curl localhost:9200 fails with authentication…
Adam Matan
  • 107,447
  • 124
  • 346
  • 512
41
votes
4 answers

Why is ARG in a DOCKERFILE not recommended for passing secrets?

In http://docs.docker.com/engine/reference/builder/#arg , It recommendeds secrets are not passed through ARGS. Note: It is not recommended to use build-time variables for passing secrets like github keys, user credentials etc. At what point are…
Roger Lam
  • 892
  • 2
  • 8
  • 17
40
votes
5 answers

Where to store sensitive data in public rails app?

My personal rails project uses a few API's for which I store the API keys/secrets in config/environments/production.yml and development.yml as global variables. I now want to push this project to github for others to use, but I don't want them to…
tybro0103
  • 43,805
  • 32
  • 138
  • 167
40
votes
2 answers

How to use UrlFetchApp with credentials? Google Scripts

I am trying to use Google Scripts UrlFetchApp to access a website with a basic username and password. As soon as I connect to the site a popup appears that requires authentication. I know the Login and Password, however I do not know how to pass…
39
votes
3 answers

How do I store and retrieve credentials from the Windows Vault credential manager?

I want to securely store a plaintext password on Windows PC. I am currently using DPAPI CryptProtectData to encrypt it, then store the encrypted blob in a file in user's local AppData. In Windows 7, there is Windows Vault, a credential manager…
kkm
  • 4,273
  • 1
  • 25
  • 49
38
votes
4 answers

How to get Windows user name using different methods?

In .NET, there appears to be several ways to get the current Windows user name. Three of which are: string name = WindowsIdentity.GetCurrent().Name; or string name = Thread.CurrentPrincipal.Identity.Name; or string name =…
Andy
  • 5,038
  • 10
  • 40
  • 59
37
votes
4 answers

Externalizing Grails Datasource configuration

Grails 1.x allows using external configuration files by setting the grails.config.locations directive. Is there a similar approach available for externalizing the database configuration in Datasource.groovy (without setting up JNDI)? It would prove…
miek
  • 3,426
  • 2
  • 27
  • 30
36
votes
5 answers

How to reset credentials in TortoiseGit?

This question is specifically about the TortoiseGit Windows client. I have a computer that I no longer use which must now be transferred to another programmer without formatting. Strangely enough, I can't seem to reset TortoiseGit credentials on…
glopes
  • 3,198
  • 3
  • 21
  • 25
35
votes
2 answers

DefaultNetworkCredentials or DefaultCredentials

Which one am I supposed to use when I need to supply a credential to a proxy (local or in Network)? What's the exact difference between these two?
dr. evil
  • 25,988
  • 28
  • 126
  • 198
31
votes
2 answers

PowerShell - Get-Credential decode password?

I want to use the Get-Credential cmdlet in my code. How is is possible to decode the password easily back from the System.Security.SecureString format? (I must use the password in clear text format at one part in my code) $credential =…
LaPhi
  • 5,195
  • 18
  • 54
  • 77
31
votes
5 answers

Saving credentials for reuse by powershell and error ConvertTo-SecureString : Key not valid for use in specified state

I was doing something like described in this post to save credentials in a secured file so our automated process can use that to run remote PS scripts via…
mishkin
  • 5,100
  • 7
  • 40
  • 52
30
votes
1 answer

Encrypting credentials in a WPF application

In a WPF application, I would like to provide the typical "Remember Me" option to remember credentials and use them automatically next time the application is launched. Using a one-way hash is clearly not an option, and while I can store credentials…
Gigi
  • 24,295
  • 20
  • 85
  • 170
30
votes
10 answers

Invalid SSL certificate when pushing to Git server

I am running Gitblit on a Windows Server and am trying to push data to a repository from another machine on the network. I have used a SSL certificate (not self signed, but I think signed by my company? Not really sure how that works but Chrome, IE,…
Justin
  • 5,913
  • 9
  • 43
  • 69