fix loading password from aws direct credentials
Change-Id: I714dd2c7f87ea624ef8ede9c1dd16c3a68103ed7
diff --git a/src/com/mirantis/mk/Aws.groovy b/src/com/mirantis/mk/Aws.groovy
index a125717..162540e 100644
--- a/src/com/mirantis/mk/Aws.groovy
+++ b/src/com/mirantis/mk/Aws.groovy
@@ -27,7 +27,7 @@
// we have key and secret in string (delimited by :)
creds = credentials.tokenize(':')
username = creds[0]
- password = creds[0]
+ password = creds[1]
} else {
// we have creadentials_id
creds = common.getCredentials(credentials)