{"id":2888,"date":"2018-05-03T11:48:01","date_gmt":"2018-05-03T11:48:01","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=2888"},"modified":"2018-05-03T12:19:47","modified_gmt":"2018-05-03T12:19:47","slug":"config-file","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/aws-amazon-web-services\/awscli\/installing\/config-file","title":{"rendered":"Config File"},"content":{"rendered":"<h5>\nCreate Config File<br \/>\n<\/h5>\n<p>\nThe config file needs to be created with your AWS credentials\n<\/p>\n<pre>\r\n<code>\r\n[default]\r\naws_access_key_id = YourAwsAccesKey\r\naws_secret_access_key = YourAwsSecretKey\r\nregion = us-west-2\r\n<\/code><\/pre>\n<p>\nIf application running as root save it to: &quot;\/root\/.aws\/config&quot;\n<\/p>\n<p>\nOr if running as a user (pi) save it to: &quot;\/home\/pi\/.aws\/config&quot;\n<\/p>\n<h5>\nProtect it<br \/>\n<\/h5>\n<pre>\r\n<code>\r\nchmod 600 \/root\/.aws\/config\r\nchmod 600 \/home\/pi\/.aws\/config\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create Config File The config file needs to be created with your AWS credentials [default] aws_access_key_id = YourAwsAccesKey aws_secret_access_key = YourAwsSecretKey region = us-west-2 If application running as root save it to: &quot;\/root\/.aws\/config&quot; Or if running as a user (pi) save it to: &quot;\/home\/pi\/.aws\/config&quot; Protect it chmod 600 \/root\/.aws\/config chmod 600 \/home\/pi\/.aws\/config &nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[143],"tags":[],"class_list":["post-2888","post","type-post","status-publish","format-standard","hentry","category-installing"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=2888"}],"version-history":[{"count":7,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2888\/revisions"}],"predecessor-version":[{"id":2895,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2888\/revisions\/2895"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=2888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=2888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=2888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}