Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from Cox-Automotive/bugFix_allowMIs
Browse files Browse the repository at this point in the history
Allow support for MI
  • Loading branch information
amagana3 authored Sep 14, 2020
2 parents 82efc31 + 73d0dfa commit 3eaff56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/alks-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,14 @@ exports.createLongTermKey = function(account, auth, iamUserName, opts, callback)
});
};

exports.createIamRole = function(account, auth, roleName, roleType, includeDefaultPolicies, opts, callback){
exports.createIamRole = function(account, auth, roleName, roleType, includeDefaultPolicies, enableAlksAccess, opts, callback){
var payload = _.extend({
account: account.alksAccount,
role: account.alksRole,
roleName: roleName,
roleType: roleType,
includeDefaultPolicy: includeDefaultPolicies ? '1' : '0'
includeDefaultPolicy: includeDefaultPolicies ? '1' : '0',
enableAlksAccess: enableAlksAccess
}, account),
options = _.extend({
debug: false,
Expand Down

0 comments on commit 3eaff56

Please sign in to comment.