1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 {%- set aws_credentials = pillar.get('aws_credentials', {}) %}
7 {%- if aws_credentials %}
8 extra_extra_aws_credentials_root_aws_config_file_managed:
10 - name: /root/.aws/config
18 region= {{ aws_credentials.region }}
20 extra_extra_aws_credentials_root_aws_credentials_file_managed:
22 - name: /root/.aws/credentials
30 aws_access_key_id = {{ aws_credentials.access_key_id }}
31 aws_secret_access_key = {{ aws_credentials.secret_access_key }}