Sha256: fdaef3fd1ce9dee6e61a537f4dbdce0bde7df1cb43353d64ac7b06e0e0bffffa
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
#!/usr/bin/env ruby require 'himeko' require 'logger' require 'aws-sdk-dynamodb' require 'aws-sdk-iam' config = { role_path: ENV.fetch('HIMEKO_ROLE_PATH', '/user-role/'), role_prefix: ENV.fetch('HIMEKO_ROLE_PREFIX', 'user_'), dynamodb_table_name: ENV.fetch('HIMEKO_DYNAMODB_TABLE', 'himeko-staging'), } Himeko::RoleManager.new( iam: Aws::IAM::Client.new(logger: Logger.new($stdout)), path: config[:role_path], prefix: config[:role_prefix], dynamodb_table: Aws::DynamoDB::Resource.new(logger: Logger.new($stdout)).table(config[:dynamodb_table_name]), ).prune
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
himeko-0.1.0 | exe/himeko-clean-roles |