Commit 951d38b7 authored by Abubakar Ango's avatar Abubakar Ango Committed by Achilleas Pipinellis

Updated Doc: Omitting AWS access key and ID key=>value pairs when using AWS IAM profiles

parent 1ab15ba2
...@@ -116,16 +116,13 @@ _The artifacts are stored by default in ...@@ -116,16 +116,13 @@ _The artifacts are stored by default in
} }
``` ```
NOTE: If you are using AWS IAM profiles, you will need to specify a blank NOTE: For GitLab 9.4+, if you are using AWS IAM profiles, be sure to omit the
AWS access key and ID until [this fog-aws AWS access key and secret acces key/value pairs. For example:
issue](https://github.com/fog/fog-aws/issues/162) is resolved. For example:
```ruby ```ruby
gitlab_rails['artifacts_object_store_connection'] = { gitlab_rails['artifacts_object_store_connection'] = {
'provider' => 'AWS', 'provider' => 'AWS',
'region' => 'eu-central-1', 'region' => 'eu-central-1',
'aws_access_key_id' => '',
'aws_secret_access_key' => '',
'use_iam_profile' => true 'use_iam_profile' => true
} }
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment