在~/.AWS/config和~/.AWS/credentials文件中配置AWS命名配置文件的CLI

aws-configure的Python项目详细描述


aws配置

PyPI

~/.aws/config~/.aws/credentials files中配置AWS命名配置文件的CLI

使用

list profiles:

      aws-configure list


  set profile options:

      aws-configure set [--profile/-p <profile_name>] [--clean/-c] [<config_options...>]

          --profile/-p <profile_name> : select profile ['default']
          <config_options>            : key=value pairs e.g. 'region=eu-central-1' 'source_profile=default'
          --empty/-e                  : empty all profile options before setting new options
          --empty-config              : empty profile config options before setting
          --empty-credentials         : empty profile credentials options before setting

  get profile options:

      aws-configure get [--profile/-p <profile_name>] [<config_options...>]

          --profile/-p <profile_name> : select profile ['default']
          <config_options>            : option key e.g. 'region' 'source_profile'

  delete profile:

      aws-configure delete [--profile/-p <profile_name>] [--config] [--credentials]

          --profile/-p <profile_name> : select profile ['default']
          --config                    : delete only profile config in '~/.aws/config'
          --credentials               : delete only profile credentials in '~/.aws/credentials'

  print help

      aws-configure help

安装开发环境

安装开发依赖项

pip3 install -r requirements.txt

pip3 install -r requirements-dev.txt

创建包

python3 setup.py sdist bdist_wheel

本地安装

pip3 install --force-reinstall --no-deps dist/aws_configure-*-py3-none-any.whl

部署到PiPy

twine upload dist/*

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
maven字段#getGenericType()抛出java。lang.TypeNotPresentException   用java绘制三角形的几何图形   java无法下载主题和发件人地址(rediff)   java如何使代码线程安全   java在尝试转换FileInputStream中的文件时,我遇到了一个FileNotFound异常   java Moxy和Jackson如何将Json映射到Pojo   在foreach循环中使用BufferedWriter生成新行的java问题   java为什么我的测试在单次执行中运行时间小于1秒,而在maven构建中运行时间大于20秒?   java如何显示下载附件的进度条   了解java rmi的良好实践   .net可以将Java portlet嵌入ASP。网页?   循环如何多次执行Java方法?   java如何确保用户输入在给定的有效范围内?   java单元测试定理   java如何在IntelliJ上运行外部构建项目?   JAVA:试图编写一个检查字符串是否为数字的方法。总是返回错误   javahadoop将特定键的所有map方法生成的所有值都发送到一个reduce方法,对吗?   在java中读取和使用文件