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.

2698 questions
63
votes
3 answers

Proper way to send username and password from client to server

This question is not language specific. I'm curious how to properly send username and password from a website login form to a server. My guess is to hash the password, put username/password in the POST body and send it over HTTPS. What's a better…
SundayMonday
  • 19,147
  • 29
  • 100
  • 154
50
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
  • 1,088
  • 3
  • 12
  • 32
49
votes
9 answers

docker login - error storing credentials - write permissions error

I am running a docker login command as a part of the Bamboo build job. The command text is obtained by aws ecr get-login call and executed in a subshell. This command fails with Error saving credentials: error storing credentials - err: exit status…
Tomáš Hübelbauer
  • 9,179
  • 14
  • 63
  • 125
49
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
  • 4,038
  • 3
  • 26
  • 29
47
votes
11 answers

Error saving credentials: error storing credentials - err: exit status 1, out: `error getting credentials - err: exit status 1

I have Ubuntu 20.04 and I have tried using docker login to log in in terminal, but got: docker login Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create…
Stanislav Felshtyn
  • 761
  • 1
  • 5
  • 8
47
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…
46
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
  • 962
  • 2
  • 8
  • 17
46
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
  • 3,306
  • 3
  • 25
  • 29
45
votes
5 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…
41
votes
4 answers

Where is my remote git repository password stored on the local machine?

I have a git repository set up on bitbucket $ git remote -v origin https://myusername@bitbucket.org/myusername/my_repository_name.git (fetch) origin https://myusername@bitbucket.org/myusername/my_repository_name.git (push) I pull and push to the…
Rahul Yadav
  • 2,627
  • 5
  • 30
  • 52
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
  • 48,327
  • 33
  • 144
  • 170
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,188
  • 10
  • 42
  • 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,446
  • 2
  • 29
  • 31
36
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
  • 26,944
  • 33
  • 131
  • 201
35
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,675
  • 21
  • 56
  • 78