From 61976cb91fb150e3e80e3a283e90af185897b506 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 16 Mar 2018 14:01:16 +0200 Subject: [PATCH] aws: rename CredentialSection to Profile Fixes #553 Signed-off-by: Ruslan Kuprieiev --- dvc/cloud/credentials_aws.py | 2 +- dvc/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/cloud/credentials_aws.py b/dvc/cloud/credentials_aws.py index e60aaae9a..e28083ba6 100644 --- a/dvc/cloud/credentials_aws.py +++ b/dvc/cloud/credentials_aws.py @@ -8,7 +8,7 @@ from dvc.logger import Logger class AWSCredentials(object): def __init__(self, cloud_config): self._conf_credpath = cloud_config.get('CredentialPath', None) - self._conf_credsect = cloud_config.get('CredentialSection', 'default') + self._conf_credsect = cloud_config.get('Profile', 'default') @property def access_key_id(self): diff --git a/dvc/config.py b/dvc/config.py index 4e3e901a9..c9632c1e6 100644 --- a/dvc/config.py +++ b/dvc/config.py @@ -26,7 +26,7 @@ LogLevel = Info [AWS] CredentialPath = ~/.aws/credentials -CredentialSection = default +Profile = default StoragePath = dvc/tutorial