yle-aws-role 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9f7b053ced151afced7e073a3b35b845c9063535
4
+ data.tar.gz: c56becd6190bc4cc5d97547daa02257839a57319
5
+ SHA512:
6
+ metadata.gz: 678d27720ced0e4d0aba60780cc8409367efea5477f93aeacaa45e98cb88cf09ebf0fd5651692d32a9ed93e151c158aaca3f8936181855908adb4cd5995e0a5d
7
+ data.tar.gz: e980b5b1bec818f651045e98ad30241493fe67a5bef6108b158978057222cfcb71b4692c2f34fc11be48a3aeaec3fc83ff5dd5f601746a4d6f59dc8cf265bbec
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ cache: bundler
3
+
4
+ rvm:
5
+ - 2.4.1
6
+ - 2.3.4
7
+ - 2.2.7
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ## 1.0.1 / 2017-05-16
2
+
3
+ - Initial public release
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at teemu.matilainen@iki.fi. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in yle-aws-assume_role.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016-2017 Yleisradio Oy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,72 @@
1
+ # yle-aws-role
2
+
3
+ Tooling to help to assume [AWS IAM roles](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html).
4
+
5
+ Offers a command-line helper tool, `asu`, and a Ruby library. After assuming the specified role, it sets the standard environment variables and configures the Ruby SDK for the role.
6
+
7
+ ## Installation
8
+
9
+ The project can be installed in a shell:
10
+
11
+ ```sh
12
+ gem install yle-aws-role
13
+ ```
14
+
15
+ To use the Ruby library, add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'yle-aws-role'
19
+ ```
20
+
21
+ and then execute `bundle`
22
+
23
+ ## Usage
24
+
25
+ ```plain
26
+ Usage: asu <account> [options] -- [command ...]
27
+ or: asu --list
28
+
29
+ account The account ID or pattern of the role account
30
+ command Command to execute with the role. Defaults to launching new shell session.
31
+
32
+ -d, --duration Duration for the role credentials. Default: 900
33
+ --env Print out environment variables and exit
34
+ -l, --list Print out all configured account aliases
35
+ -q, --quiet Be quiet
36
+ -r, --role Name of the role
37
+
38
+ -h, --help Prints this help
39
+ -v, --version Prints the version information
40
+ ```
41
+
42
+ ### Configuration
43
+
44
+ Account aliases and their IDs can be specified in a configuration file. Then you can list the known accounts with `asu --list`, and use aliases (even with partial matching) when specifying the account for `asu`. Also the default role can be set.
45
+
46
+ The configuration file location defaults to _$HOME/.aws/asu.yaml_, but can be specified with the `ASU_CONFIG` environment variable.
47
+
48
+ Example configuration:
49
+
50
+ ```yaml
51
+ defaults:
52
+ role: "dev"
53
+
54
+ accounts:
55
+ foo-bar: "123456789012"
56
+ baz: "987654321098"
57
+ ```
58
+
59
+ With this you can just call for example
60
+
61
+ ```sh
62
+ asu foo -- aws s3 ls s3://mybucket/
63
+ ```
64
+
65
+ ## Contributing
66
+
67
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Yleisradio/yle-aws-role. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
68
+
69
+
70
+ ## License
71
+
72
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
data/bin/asu ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup' if File.exist? File.expand_path('../../Gemfile', __FILE__)
4
+ require 'yle/aws/role/cli'
5
+
6
+ cli = Yle::AWS::Role::Cli.new(ARGV)
7
+ cli.execute
@@ -0,0 +1,106 @@
1
+ require 'aws-sdk'
2
+ require 'shellwords'
3
+
4
+ require 'yle/aws/role/accounts'
5
+ require 'yle/aws/role/config'
6
+ require 'yle/aws/role/errors'
7
+ require 'yle/aws/role/version'
8
+
9
+ module Yle
10
+ module AWS
11
+ class Role
12
+ # Default duration in seconds when assuming a role
13
+ DEFAULT_DURATION = 900
14
+
15
+ def self.assume_role(account_name, role_name, duration = nil)
16
+ account_alias = accounts.find(account_name)
17
+ if !account_alias
18
+ raise Errors::AccountNotFoundError, "No account found for '#{account_name}'"
19
+ end
20
+
21
+ role = Role.new(account_alias, role_name, duration)
22
+ role.with_env { yield role } if block_given?
23
+ role
24
+ end
25
+
26
+ def self.config
27
+ @config ||= Config.load
28
+ end
29
+
30
+ def self.accounts
31
+ @accounts ||= Accounts.new(config['accounts'])
32
+ end
33
+
34
+ attr_reader :account, :role_name, :credentials
35
+
36
+ def initialize(account_alias, role_name, duration = nil)
37
+ @account = account_alias
38
+ @role_name = role_name
39
+
40
+ @credentials = Aws::AssumeRoleCredentials.new(
41
+ role_arn: role_arn,
42
+ role_session_name: session_name,
43
+ duration_seconds: duration || DEFAULT_DURATION
44
+ ).credentials
45
+ rescue Aws::STS::Errors::ServiceError,
46
+ Aws::Errors::MissingCredentialsError => e
47
+ raise Errors::AssumeRoleError, "Failed to assume role #{role_arn}: #{e}"
48
+ end
49
+
50
+ def with_env
51
+ old_env = set_env_vars(env_vars)
52
+ old_credentials = Aws.config[:credentials]
53
+ Aws.config.update(credentials: credentials)
54
+
55
+ yield
56
+
57
+ if old_credentials
58
+ Aws.config.update(credentials: old_credentials)
59
+ else
60
+ Aws.config.delete(:credentials)
61
+ end
62
+ set_env_vars(old_env)
63
+ end
64
+
65
+ def env_vars
66
+ {
67
+ 'AWS_ACCESS_KEY_ID' => credentials.access_key_id,
68
+ 'AWS_SECRET_ACCESS_KEY' => credentials.secret_access_key,
69
+ 'AWS_SESSION_TOKEN' => credentials.session_token,
70
+ 'ASU_CURRENT_PROFILE' => name
71
+ }
72
+ end
73
+
74
+ def set_env_vars(vars)
75
+ old_env = {}
76
+ vars.each do |key, value|
77
+ old_env[key] = ENV[key]
78
+ ENV[key] = value
79
+ end
80
+ old_env
81
+ end
82
+
83
+ def print_env_vars
84
+ env_vars.each do |key, value|
85
+ puts "export #{key}=#{Shellwords.escape(value)}"
86
+ end
87
+ end
88
+
89
+ def name
90
+ "#{account.name}:#{role_name}"
91
+ end
92
+
93
+ def role_arn
94
+ "arn:aws:iam::#{account.id}:role/#{role_name}"
95
+ end
96
+
97
+ def session_name
98
+ "#{current_user}-#{Time.now.to_i}"
99
+ end
100
+
101
+ def current_user
102
+ ENV['USER'] || ENV['USERNAME'] || 'unknown'
103
+ end
104
+ end
105
+ end
106
+ end
@@ -0,0 +1,48 @@
1
+ module Yle
2
+ module AWS
3
+ class Role
4
+ AccountAlias = Struct.new(:name, :id)
5
+
6
+ class Accounts
7
+ attr_reader :aliases
8
+
9
+ def initialize(aliases = nil)
10
+ @aliases = aliases || {}
11
+ end
12
+
13
+ # Returns an `AccountAlias` that best matches the passed string
14
+ def find(id_or_alias)
15
+ if account_id?(id_or_alias)
16
+ name = aliases.key(id_or_alias) || id_or_alias
17
+ AccountAlias.new(name, id_or_alias)
18
+ else
19
+ name = best_matching_account(id_or_alias)
20
+ AccountAlias.new(name, aliases[name]) if name
21
+ end
22
+ end
23
+
24
+ def to_s
25
+ max_name_length = aliases.keys.map(&:length).max
26
+ aliases.sort.map do |name, id|
27
+ "#{name.ljust(max_name_length)}\t#{id}"
28
+ end.join("\n")
29
+ end
30
+
31
+ # Returns truish if the argument looks like an AWS Account ID
32
+ def account_id?(id_or_alias)
33
+ id_or_alias =~ /^\d{12}$/
34
+ end
35
+
36
+ def best_matching_account(id_or_alias)
37
+ matcher = alias_matcher(id_or_alias)
38
+ aliases.keys.select { |key| matcher =~ key }.min_by(&:length)
39
+ end
40
+
41
+ def alias_matcher(s)
42
+ pattern = s.gsub(/([^^])(?=[^$])/, '\1.*')
43
+ Regexp.new(pattern)
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,104 @@
1
+ require 'slop'
2
+
3
+ require 'yle/aws/role'
4
+
5
+ module Yle
6
+ module AWS
7
+ class Role
8
+ class Cli
9
+ attr_reader :account_name, :command, :opts
10
+
11
+ def initialize(argv)
12
+ parse_args(argv)
13
+ end
14
+
15
+ def parse_args(argv)
16
+ @opts = Slop.parse(argv) do |o|
17
+ o.banner = 'Usage: asu <account> [options] -- [command ...]'
18
+ o.separator ' or: asu --list'
19
+ o.separator ''
20
+ o.separator ' account The account ID or pattern of the role account'
21
+ o.separator ' command Command to execute with the role. Defaults to launching new shell session.'
22
+ o.separator ''
23
+ o.integer '-d', '--duration', "Duration for the role credentials. Default: #{Role::DEFAULT_DURATION}"
24
+ o.bool '--env', 'Print out environment variables and exit'
25
+ o.bool '-l', '--list', 'Print out all configured account aliases'
26
+ o.bool '-q', '--quiet', 'Be quiet'
27
+ o.string '-r', '--role', 'Name of the role'
28
+ o.separator ''
29
+ o.on '-h', '--help', 'Prints this help' do
30
+ puts o
31
+ exit
32
+ end
33
+ o.on '-v', '--version', 'Prints the version information' do
34
+ puts VERSION
35
+ exit
36
+ end
37
+ end
38
+
39
+ @account_name = opts.args.shift
40
+ @command = opts.args
41
+
42
+ if !@account_name && !@opts[:list]
43
+ STDERR.puts @opts
44
+ exit 64
45
+ end
46
+ rescue Slop::Error => e
47
+ STDERR.puts e
48
+ exit 64
49
+ end
50
+
51
+ def execute
52
+ if opts[:list]
53
+ puts Role.accounts
54
+ return
55
+ end
56
+
57
+ if !role_name
58
+ STDERR.puts 'Role name must be passed with `--role` or set in the config'
59
+ exit 64
60
+ end
61
+
62
+ Role.assume_role(account_name, role_name, duration) do |role|
63
+ STDERR.puts("Assumed role #{role.name}") if !opts[:quiet]
64
+
65
+ if opts[:env]
66
+ role.print_env_vars
67
+ else
68
+ run_command
69
+ end
70
+ end
71
+ rescue Errors::AssumeRoleError => e
72
+ STDERR.puts e
73
+ exit 1
74
+ end
75
+
76
+ def run_command
77
+ cmd = command
78
+ if cmd.empty?
79
+ shell = ENV.fetch('SHELL', 'bash')
80
+ cmd = [shell]
81
+
82
+ if !opts[:quiet]
83
+ puts "Executing shell '#{shell}' with the assumed role"
84
+ puts "Use `exit` to quit"
85
+ puts
86
+ end
87
+ end
88
+
89
+ ret = system(*cmd)
90
+ STDERR.puts "Failed to execute '#{cmd.first}'" if ret.nil?
91
+ exit(1) if !ret
92
+ end
93
+
94
+ def role_name
95
+ opts[:role] || Role.config['defaults']['role']
96
+ end
97
+
98
+ def duration
99
+ opts[:duration] || Role.config['defaults']['duration']
100
+ end
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,43 @@
1
+ require 'yaml'
2
+
3
+ module Yle
4
+ module AWS
5
+ class Role
6
+ Config = Struct.new(:accounts, :defaults) do
7
+ def self.default_path
8
+ ENV.fetch('ASU_CONFIG') { File.join(Dir.home, '.aws', 'asu.yaml') }
9
+ end
10
+
11
+ def self.default_config
12
+ @default_config ||= Config.new({}, {})
13
+ end
14
+
15
+ def self.default_config=(config)
16
+ @default_config = default_config.merge(config)
17
+ end
18
+
19
+ def self.load(paths = nil)
20
+ paths = Array(paths).push(default_path)
21
+ paths.inject(default_config) do |config, path|
22
+ config.merge(load_yaml(path))
23
+ end
24
+ end
25
+
26
+ def self.load_yaml(path)
27
+ (path && File.exist?(path) && YAML.load_file(path)) || {}
28
+ rescue StandardError
29
+ STDERR.puts("WARN: Failed to load or parse configuration from '#{path}'")
30
+ {}
31
+ end
32
+
33
+ def merge(config)
34
+ config ||= {}
35
+ Config.new(
36
+ accounts.merge(config['accounts'] || {}),
37
+ defaults.merge(config['defaults'] || {})
38
+ )
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,11 @@
1
+ module Yle
2
+ module AWS
3
+ class Role
4
+ module Errors
5
+ class AssumeRoleError < StandardError; end
6
+
7
+ class AccountNotFoundError < AssumeRoleError; end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ module Yle
2
+ module AWS
3
+ class Role
4
+ VERSION = '1.0.1'.freeze
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'yle/aws/role/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'yle-aws-role'
8
+ spec.version = Yle::AWS::Role::VERSION
9
+ spec.summary = 'Tooling to help to assume AWS IAM roles'
10
+ spec.description = spec.summary
11
+ spec.homepage = 'https://github.com/Yleisradio/yle-aws-role'
12
+ spec.license = 'MIT'
13
+
14
+ spec.authors = [
15
+ 'Yleisradio',
16
+ 'Teemu Matilainen',
17
+ 'Antti Forsell',
18
+ ]
19
+ spec.email = [
20
+ 'devops@yle.fi',
21
+ 'teemu.matilainen@iki.fi',
22
+ 'antti@fosu.me',
23
+ ]
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+
29
+ spec.bindir = 'bin'
30
+ spec.executables = ['asu']
31
+ spec.require_paths = ['lib']
32
+
33
+ spec.add_dependency 'aws-sdk', '~> 2.6'
34
+ spec.add_dependency 'slop', '~> 4.4'
35
+
36
+ spec.add_development_dependency 'bundler', '~> 1.13'
37
+ spec.add_development_dependency 'rake', '~> 11.0'
38
+ spec.add_development_dependency 'rspec', '~> 3.5'
39
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yle-aws-role
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Yleisradio
8
+ - Teemu Matilainen
9
+ - Antti Forsell
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2017-05-16 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: aws-sdk
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '2.6'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '2.6'
29
+ - !ruby/object:Gem::Dependency
30
+ name: slop
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '4.4'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '4.4'
43
+ - !ruby/object:Gem::Dependency
44
+ name: bundler
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.13'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '1.13'
57
+ - !ruby/object:Gem::Dependency
58
+ name: rake
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '11.0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '11.0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: rspec
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '3.5'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '3.5'
85
+ description: Tooling to help to assume AWS IAM roles
86
+ email:
87
+ - devops@yle.fi
88
+ - teemu.matilainen@iki.fi
89
+ - antti@fosu.me
90
+ executables:
91
+ - asu
92
+ extensions: []
93
+ extra_rdoc_files: []
94
+ files:
95
+ - ".gitignore"
96
+ - ".rspec"
97
+ - ".travis.yml"
98
+ - CHANGELOG.md
99
+ - CODE_OF_CONDUCT.md
100
+ - Gemfile
101
+ - LICENSE.txt
102
+ - README.md
103
+ - Rakefile
104
+ - bin/asu
105
+ - lib/yle/aws/role.rb
106
+ - lib/yle/aws/role/accounts.rb
107
+ - lib/yle/aws/role/cli.rb
108
+ - lib/yle/aws/role/config.rb
109
+ - lib/yle/aws/role/errors.rb
110
+ - lib/yle/aws/role/version.rb
111
+ - yle-aws-role.gemspec
112
+ homepage: https://github.com/Yleisradio/yle-aws-role
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubyforge_project:
132
+ rubygems_version: 2.6.11
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: Tooling to help to assume AWS IAM roles
136
+ test_files: []