Do not have the master key of Parse app - parse-platform

I know I should have done this before. But I didn't get a chance to host parse and now when I am trying to do it, it is asking to enter me master key, but I do not have it. I have parse channel name, client key, application id, javascript key. Is it possible to host a parse server using these keys only or is there any way to get master key now? Please help. Thank you in advance.

You define your own master key when you host a parse server. It can be anything you want.
If you mean you want to keep the existing master key from a parse.com app, there is no way to do this unless you have a record of it. For instance if you used it somewhere.

Related

Consul KV store endpoints

I am working on designing a little project where I need to use Consul to manage application configuration in a dynamic way so that all my app machines can get the configuration at the same time without any inconsistency issue. We are using Consul already for service discovery purpose so I was reading more about it and it looks like they have a Key/Value store which I can use to manage my configurations.
We already have a Consul up and running and below is the url I get if I click Key/Value store tab:
http://consul.host.orcld.com/ui/#/dc1/kv/
I am trying to do below things with the Consul through command line as of now:
Create new key/value in Consul.
Update value of existing key.
Keep a watch on the existing key so that if value changes then I get notified and it can show me the new value of that key.
Now I already have few keys created with some values in it through ui so I was thinking to get value of that key. Below is the image but I am confuse on how can I get the value of this key in the command line:
I tried with below curl call but it doesn't give me the value of it as I get 404 Not Found? Am I doing anything wrong here?
curl -XGET http://consul.host.orcld.com/vi/kv/example/reaper
Also how can I create new key/value and keep a watch on existing key through command line as well?
Try this below format, replace v1 instead of vi
curl http://127.0.0.1:8500/v1/kv/example/reaper
Documentation : https://www.consul.io/api/kv.html

How to rotate IAM user access keys

I am trying to rotate the user access keys & secret keys for all the users, last time when it was required I did it manually but now I want to do it by a rule or automation
I went through some links and found this link
https://github.com/miztiik/serverless-iam-key-sentry
with this link, I tried to use but I was not able to perform the activity, it was always giving me the error, can anyone please or suggest any better way to do it?
As I am new to aws lamda also I am not sure that how my code can be tested?
There are different ways to implements a solution. One common way you can automate this is through a storing the IAM user access keys in Secret Manager for safely storing the keys. Next, you could configure a monthly or 90 days check to rotate the keys utilizing the AWS CLI and store the new keys within AWS Secrets Manager. You could use an SDK of your choice for this.

How to issue public SSH on aws?

Just had this question as I not a developer if the question might sounds or silly please don’t judge.
Basically I created and instance on aws and at the end of the process I was issued private SSH key which says keep it save and don’t share it.
Now if I would like to my developers to have access to instance files and do the coding and etc. Do I need to share my private key? Or I need to create public SSH key only for their use?
How can i create it?
Can I delete it this public key and cancel access to those files after the job completion?
Please any help would be very appreciated!!!
One way (since the ssh key you were given can be used on other EC2 instances created from your account) would be for your users to create an ssh key pair and give you their public key. You then add the key to the end of the file ${HOME}/.ssh/authorized_keys. This will give your developers and other users access to only the instances you want them to have access to.
The best way would be to create an account for each person (on each server you want them to have access to) and add their public key to the ${HOME}/.ssh/authorized_keys file for their account. Then give them sudo access as needed.
From your description, you've created an instance via the UI on aws. You got given an SSH Keypair that you can use to connect. The steps to connect is at here : http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html ( Step 2 )
You should not share the key with anybody, instead as a root owner you can enable password access to the servers. You can create developer user(s) and give them those credentials with needed access only.
Here are the steps to enable password access.
OR
If you don't want to enable password access then get the public keys from the developers and add them in authorised_keys file.
Here are the steps.

EC2Box Auth fail when opening Composite SSH terminal

Thank you for writing EC2Box, it seems to be exactly the tool I can use to ssh into our EC2 instances. I created a new EC2 ubuntu instance to host EC2box. However I cannot get any of the Composite SSH Terminals to connect. I believe I have entered the account settings and keys correctly, and I can see the list of instances in the instances table. However, when I select any instance and click on the Create SSH Terminals button, I get an "Auth fail" error, and I see the following error on the EC2Box term:
org.h2.jdbc.JdbcSQLException: NULL not allowed for column "HOST"; SQL statement:
insert into system (display_nm, user, host, port, instance_id, key_id, region, state, instance_status, system_status) values (?,?,?,?,?,?,?,?,?,?) [23502-175]
Do you know what could cause that?
thank you,
-John
Thanks John! When you have an instance that is shutdown the AWS services won't return a DNS for it and that was causing it to fail when inserting. I never noticed that before. I actually just committed a fix and some other features. I haven't done a release yet, but will get to it sometime today.

Publishing to Amazon S3 with Espresso

I've been looking around to get some clarity on this but it seems like I'm the only stupid one having a problem with it.
Case is, I can't connect to Amazon S3 with Espresso. Or I think the case is rather that I don't know how to. I mean, I have my username, access key and secret key. Espresso asks for the username and password. So which one is my password? What should I use as the "server"? The port? I just can't make it work.
Sorry for being stupid but please help me out here. I know there are many of yous who use both Espresso and Amazon S3.
Many thanks in advance.
Way old question, but for the ones (like me) who googles it and ends up here, I found out how to make it work:
Server: s3.amazonaws.com
User name: Your access key
Password: Your secret access key

Resources