Skip to content

Commit

Permalink
Merge pull request #151 from devsapp/fix/pop-support-sts
Browse files Browse the repository at this point in the history
fix: pop support -sts
  • Loading branch information
heimanba authored Feb 22, 2022
2 parents e3b5efd + 6b685ad commit aead01f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/component/vpc/utils/handlerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export default class HandlerService {
apiVersion,
accessKeyId: profile.AccessKeyID,
accessKeySecret: profile.AccessKeySecret,
// @ts-ignore
securityToken: profile.SecurityToken,
opts: {
timeout: timeout * 1000,
},
Expand Down
2 changes: 2 additions & 0 deletions src/lib/resource/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export class AlicloudClient extends IInputsBase {
apiVersion,
accessKeyId: this.credentials?.AccessKeyID,
accessKeySecret: this.credentials?.AccessKeySecret,
// @ts-ignore
securityToken: this.credentials?.SecurityToken,
opts: {
timeout: this.timeout || defaultTimeout * 1000,
},
Expand Down

0 comments on commit aead01f

Please sign in to comment.