credentials

How to remove GitHub password from VSCode?

冷暖自知 提交于 2020-05-11 14:48:30
问题 I have cloned one of my GitHub repositories with VSCode and I have made some commits. VSCode has asked me for my GitHub password when I have done the first commit. I have rebooted the computer and now I can make commits as before, but VSCode does not ask for my password. It seems that the password has been stored. But this computer is not my computer and I do not want that somebody else could use my account. How can I make VSCode forget my GitHub password? I have tried the git command: git

Mac OS X Keychain access in Java for Generic Passwords

蹲街弑〆低调 提交于 2020-05-10 06:21:51
问题 What is the standard way to retrieve generic passwords in the Keychain of OS X using only Java? Apple Developer Pages provide some good background but the implementation and examples are in C or native code unfortunately. The Java KeyStore OS X implementation appears to be good only for public/private key pairs and certs but not generic username/password combos. I see a project started Here: but it is relatively old and not actively maintained. Is there a more state of the art solution to the

Mac OS X Keychain access in Java for Generic Passwords

假如想象 提交于 2020-05-10 06:20:27
问题 What is the standard way to retrieve generic passwords in the Keychain of OS X using only Java? Apple Developer Pages provide some good background but the implementation and examples are in C or native code unfortunately. The Java KeyStore OS X implementation appears to be good only for public/private key pairs and certs but not generic username/password combos. I see a project started Here: but it is relatively old and not actively maintained. Is there a more state of the art solution to the

How to store FTP credentials securely in C# application?

。_饼干妹妹 提交于 2020-04-17 00:24:51
问题 I am developing a C# WPF application in which the user generates an image and then the app uploads it to a webhosting using FTP connection. The credentials for the FTP connections are always the same and are currently stored simply in the source code. I know that using .NET Reflector, a hacker can very easily obtain the username and password for the FTP connection. How and where could I store these credentials to be secure from decompilation? Or is there a better way instead of using FTP to

How to store FTP credentials securely in C# application?

落花浮王杯 提交于 2020-04-17 00:22:32
问题 I am developing a C# WPF application in which the user generates an image and then the app uploads it to a webhosting using FTP connection. The credentials for the FTP connections are always the same and are currently stored simply in the source code. I know that using .NET Reflector, a hacker can very easily obtain the username and password for the FTP connection. How and where could I store these credentials to be secure from decompilation? Or is there a better way instead of using FTP to

Are there any implicit assumptions in Import-Clixml when importing credentials?

…衆ロ難τιáo~ 提交于 2020-02-22 08:01:47
问题 I wonder if there are any implicit assumptions that I've taken that may make the code malfunction? There is a reason I want to avoid using Import-Clixml cmdlet? Hence, I've developed an alternative, i.e. a sequence of command that is aimed to extract username and password from CliXml file created with Export-Clixml. It works by now but I'm not sure if for instance the splitting solution is reliable. $credFileUriBld = [UriBuilder]::New('file','localhost',-1,"MyCredentials.xml")) $credFile =

Are there any implicit assumptions in Import-Clixml when importing credentials?

自作多情 提交于 2020-02-22 08:01:28
问题 I wonder if there are any implicit assumptions that I've taken that may make the code malfunction? There is a reason I want to avoid using Import-Clixml cmdlet? Hence, I've developed an alternative, i.e. a sequence of command that is aimed to extract username and password from CliXml file created with Export-Clixml. It works by now but I'm not sure if for instance the splitting solution is reliable. $credFileUriBld = [UriBuilder]::New('file','localhost',-1,"MyCredentials.xml")) $credFile =

How to configure credential rotation in AWS Secret Manager?

非 Y 不嫁゛ 提交于 2020-02-05 04:26:16
问题 I read this article about how to implement the credential rotation, I know I could just configure this in 'Edit rotation configuration' option, but the thing is my current secret is in use, and I notice that it says 'Enable automatic rotation - Recommended when your applications are not using this secret yet', how can I enable the rotation then? My database is using RDS Aurora MySQL engine and I want it to rotate every 7 days. I also read this document, does it mean I must have an IAM role

Question about Lambda execution role when configuring credential rotation for Secret Manager

久未见 提交于 2020-02-04 05:30:05
问题 I created a rotation function manually and linked it to Secret Manager, I've managed to enable the rotation but when I checked the logs in CloudWatch for this rotation lambda, it showing me error: [ERROR] ClientError: An error occurred (AccessDeniedException) when calling the DescribeSecret operation: User: arn:awsxxxxxxx:assumed-role/xxxxx-lambda-exec-role/ MyLambdaName is not authorized to perform: secretsmanager:DescribeSecret on resource: MysecretARN I know something is wrong with my

AWS Which IAM Role For S3 Presigned URL

自闭症网瘾萝莉.ら 提交于 2020-02-02 15:22:11
问题 I am deploying a server program in an ec2 instance which needs to be able to create pre-signed urls for s3. So far I've had my AWS credentials in environment variables for testing, but I would like to switch to the IAM Role strategy now. However, I am unsure as to which policies the role should have access too. My initial guess is to have AmazonS3FullAccess, but the description says "Provides full access to all buckets via the AWS Management Console" but the ec2 instance will be using the c++