mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
Merge pull request #558 from efiop/master
aws: rename CredentialSection to Profile
This commit is contained in:
@@ -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):
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ LogLevel = Info
|
||||
|
||||
[AWS]
|
||||
CredentialPath = ~/.aws/credentials
|
||||
CredentialSection = default
|
||||
Profile = default
|
||||
|
||||
StoragePath = dvc/tutorial
|
||||
|
||||
|
||||
Reference in New Issue
Block a user