lundi 28 septembre 2015

What is a keyName in AWS ( Amazon Web Services )?

So, I began studying the upload mechanism with AWS. Also, watching several other examples, I have noticed that I don't actually get one thing ( even though I have read the documentation over and over, at those specific parts). At the creation of a AWS account, you are given a key. But also, there is the notion of ObjectKey.

So, given this example : http://ift.tt/1lRPa8S

especially, this piece of code :

private static String bucketName     = "*** Provide bucket name ***";
private static String keyName        = "*** Provide key ***";
private static String uploadFileName = "*** Provide file name ***";

I have to ask : what does that keyName represent ? It is the name of the object ( name that will be found in the bucket ) or is it the secret key given on account creation?




Aucun commentaire:

Enregistrer un commentaire