【文件属性】:
文件名称:aws-accounts:通过编程方式管理AWS凭证配置文件
文件大小:42KB
文件格式:ZIP
更新时间:2021-03-03 01:27:11
aws manager iam profiles aws-profiles
管理AWS凭证
如何安装?
npm i aws-accounts
如何使用?
自动保存
const { awsAccounts } = require ( 'aws-accounts' ) ;
// Toggle auto save option, default value false
awsAccounts . toggleAutoSave ( ) ;
// The profile will be automatically saved on the credentials file
awsAccounts . addProfile ( options ) ;
可链接的方法
此模块允许某些方法可链接使用,以下列方式使用:
const { awsAccounts } = require ( 'aws-accounts' ) ;
// Add profile and save on
【文件预览】:
aws-accounts-master
----.gitignore(39B)
----tsconfig.json(6KB)
----.github()
--------workflows()
--------FUNDING.yml(264B)
----.prettierrc(46B)
----LICENSE(1KB)
----package.json(1KB)
----src()
--------constants()
--------index.ts(87B)
--------classes()
----readme.md(5KB)
----.npmignore(87B)
----.eslintrc.json(189B)
----package-lock.json(108KB)