awskeyring 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -9
- data/awskeyring.gemspec +1 -1
- data/lib/awskeyring/validate.rb +1 -1
- data/lib/awskeyring/version.rb +2 -2
- data/lib/awskeyring_command.rb +1 -1
- data/man/awskeyring.5 +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc910795f877ae9b6a82106d0abb6aa98a1ac41e3b23e995effe1ea5dc8e8ffd
|
4
|
+
data.tar.gz: 8e6651afc8b0320b9ed9e3d7b32274d6cf473ef36f7d8bf393f4e0115072aed4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56112939c5730e6e72812b0e85845018ae762dddc1e8df8c9308c72a8458c010ce6898c1cd957d91f22a2dc3bffcc5504d933c03e711073adea294e218043e9a
|
7
|
+
data.tar.gz: 60b525d9b832477409eaaa8b59ef4cb34d8ffac239b9ab26011214a8a8e182d1cc9a304ab35ca3ca4b7b128377c019eb6337bac468ed899bfd067fdac677ada0
|
data/README.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# Awskeyring
|
2
2
|
|
3
|
-
![Awskeyring](https://raw.githubusercontent.com/
|
3
|
+
![Awskeyring](https://raw.githubusercontent.com/tristanmorgan/awskeyring/main/awskeyring-144.png)
|
4
4
|
|
5
|
-
* [![Build Status](https://app.travis-ci.com/
|
6
|
-
* [![Gem Version](https://
|
5
|
+
* [![Build Status](https://app.travis-ci.com/tristanmorgan/awskeyring.svg?branch=main)](https://app.travis-ci.com/github/tristanmorgan/awskeyring)
|
6
|
+
* [![Gem Version](https://img.shields.io/gem/v/awskeyring)](https://badge.fury.io/rb/awskeyring)
|
7
7
|
* [![license MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
|
8
|
-
* [![All Downloads](https://
|
9
|
-
* [![Version Downloads](https://
|
8
|
+
* [![All Downloads](https://img.shields.io/gem/dt/awskeyring)](https://rubygems.org/gems/awskeyring)
|
9
|
+
* [![Version Downloads](https://img.shields.io/gem/dtv/awskeyring)](https://rubygems.org/gems/awskeyring)
|
10
10
|
* [![Documentation](https://img.shields.io/badge/yard-docs-brightgreen.svg)](https://www.rubydoc.info/gems/awskeyring)
|
11
11
|
|
12
12
|
Awskeyring is a small tool to manage AWS account keys in the macOS Keychain. It has
|
13
|
-
grown to incorporate a lot of [features](https://github.com/
|
13
|
+
grown to incorporate a lot of [features](https://github.com/tristanmorgan/awskeyring/wiki/Awskeyring-features).
|
14
14
|
|
15
15
|
## Motivation
|
16
16
|
|
@@ -33,7 +33,7 @@ or via [homebrew gem](https://github.com/sportngin/brew-gem):
|
|
33
33
|
|
34
34
|
## Wiki
|
35
35
|
|
36
|
-
Please see the [Wiki](https://github.com/
|
36
|
+
Please see the [Wiki](https://github.com/tristanmorgan/awskeyring/wiki) for full usage instructions and tips.
|
37
37
|
|
38
38
|
## Quick start
|
39
39
|
|
@@ -104,12 +104,12 @@ To install this gem onto your local machine, run `bundle exec rake install`.
|
|
104
104
|
## Security
|
105
105
|
|
106
106
|
If you believe you have found a security issue in Awskeyring, please responsibly disclose by contacting me at
|
107
|
-
[tristan.morgan@
|
107
|
+
[tristan.morgan@gmail.com](mailto:tristan.morgan@gmail.com). Awskeyring is a Ruby script and as such Ruby is whitelisted
|
108
108
|
to access your "awskeyring" keychain. Use a strong password and keep the unlock time short.
|
109
109
|
|
110
110
|
## Contributing
|
111
111
|
|
112
|
-
Bug reports and pull requests are welcome on GitHub at [https://github.com/
|
112
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/tristanmorgan/awskeyring](https://github.com/tristanmorgan/awskeyring).
|
113
113
|
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
114
114
|
the [Contributor Covenant](https://contributor-covenant.org) code of conduct.
|
115
115
|
|
data/awskeyring.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = 'awskeyring'
|
9
9
|
spec.version = Awskeyring::VERSION
|
10
10
|
spec.authors = ['Tristan Morgan']
|
11
|
-
spec.email = 'tristan.morgan@
|
11
|
+
spec.email = 'tristan.morgan@gmail.com'
|
12
12
|
|
13
13
|
spec.summary = 'Manages AWS credentials in the macOS keychain'
|
14
14
|
spec.description = 'Manages AWS credentials in the macOS keychain'
|
data/lib/awskeyring/validate.rb
CHANGED
@@ -20,7 +20,7 @@ module Awskeyring
|
|
20
20
|
#
|
21
21
|
# @param [String] aws_access_key The aws_access_key_id
|
22
22
|
def self.access_key(aws_access_key)
|
23
|
-
raise 'Invalid Access Key' unless /\AAKIA[A-
|
23
|
+
raise 'Invalid Access Key' unless /\AAKIA[A-Z234567]{16}\z/.match?(aws_access_key)
|
24
24
|
|
25
25
|
aws_access_key
|
26
26
|
end
|
data/lib/awskeyring/version.rb
CHANGED
@@ -6,9 +6,9 @@ require 'json'
|
|
6
6
|
# Version const and query of latest.
|
7
7
|
module Awskeyring
|
8
8
|
# The Gem's version number
|
9
|
-
VERSION = '1.
|
9
|
+
VERSION = '1.11.0'
|
10
10
|
# The Gem's homepage
|
11
|
-
HOMEPAGE = 'https://github.com/
|
11
|
+
HOMEPAGE = 'https://github.com/tristanmorgan/awskeyring'
|
12
12
|
|
13
13
|
# RubyGems Version url
|
14
14
|
GEM_VERSION_URL = 'https://rubygems.org/api/v1/versions/awskeyring/latest.json'
|
data/lib/awskeyring_command.rb
CHANGED
@@ -45,7 +45,7 @@ class AwskeyringCommand < Thor # rubocop:disable Metrics/ClassLength
|
|
45
45
|
# print the version number
|
46
46
|
def __version
|
47
47
|
puts "Awskeyring v#{Awskeyring::VERSION}"
|
48
|
-
if !options['no-remote'] && Awskeyring
|
48
|
+
if !options['no-remote'] && Awskeyring.latest_version != Awskeyring::VERSION
|
49
49
|
puts "the latest version v#{Awskeyring.latest_version}"
|
50
50
|
end
|
51
51
|
puts "Homepage #{Awskeyring::HOMEPAGE}"
|
data/man/awskeyring.5
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "AWSKEYRING" "5" "
|
4
|
+
.TH "AWSKEYRING" "5" "February 2023" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBAwskeyring\fR \- is a small tool to manage AWS account keys in the macOS Keychain
|
@@ -341,10 +341,10 @@ The last field is the warning threshold for key age\.
|
|
341
341
|
The motivation of this application is to provide a local secure store of AWS credentials using specifically in the macOS Keychain, to have them easily accessed from the Terminal, and to provide useful functions like assuming roles and opening the AWS Console from the cli\. It then expanded to include autocomplete and a desire to have an almost complete test coverage to prevent regressions in its functionality\. For Enterprise environments there are better suited tools to use like HashiCorp Vault \fIhttps://vaultproject\.io/\fR\.
|
342
342
|
.
|
343
343
|
.SH "SECURITY"
|
344
|
-
If you believe you have found a security issue in Awskeyring, please responsibly disclose by contacting me at \fItristan\.morgan@
|
344
|
+
If you believe you have found a security issue in Awskeyring, please responsibly disclose by contacting me at \fItristan\.morgan@gmail\.com\fR\. Awskeyring is a Ruby script and as such Ruby is whitelisted to access your "awskeyring" keychain\. Use a strong password and keep the unlock time short\.
|
345
345
|
.
|
346
346
|
.SH "AUTHOR"
|
347
|
-
Tristan Morgan \fItristan\.morgan@
|
347
|
+
Tristan Morgan \fItristan\.morgan@gmail\.com\fR is the maintainer of Awskeyring\.
|
348
348
|
.
|
349
349
|
.SH "CONTRIBUTORS"
|
350
350
|
.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awskeyring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tristan Morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-iam
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
description: Manages AWS credentials in the macOS keychain
|
70
|
-
email: tristan.morgan@
|
70
|
+
email: tristan.morgan@gmail.com
|
71
71
|
executables:
|
72
72
|
- awskeyring
|
73
73
|
extensions: []
|
@@ -86,16 +86,16 @@ files:
|
|
86
86
|
- lib/awskeyring/version.rb
|
87
87
|
- lib/awskeyring_command.rb
|
88
88
|
- man/awskeyring.5
|
89
|
-
homepage: https://github.com/
|
89
|
+
homepage: https://github.com/tristanmorgan/awskeyring
|
90
90
|
licenses:
|
91
91
|
- MIT
|
92
92
|
metadata:
|
93
|
-
bug_tracker_uri: https://github.com/
|
94
|
-
changelog_uri: https://github.com/
|
95
|
-
documentation_uri: https://rubydoc.info/gems/awskeyring/1.
|
93
|
+
bug_tracker_uri: https://github.com/tristanmorgan/awskeyring/issues
|
94
|
+
changelog_uri: https://github.com/tristanmorgan/awskeyring/blob/main/CHANGELOG.md
|
95
|
+
documentation_uri: https://rubydoc.info/gems/awskeyring/1.11.0
|
96
96
|
rubygems_mfa_required: 'true'
|
97
|
-
source_code_uri: https://github.com/
|
98
|
-
wiki_uri: https://github.com/
|
97
|
+
source_code_uri: https://github.com/tristanmorgan/awskeyring/tree/v1.11.0
|
98
|
+
wiki_uri: https://github.com/tristanmorgan/awskeyring/wiki
|
99
99
|
post_install_message:
|
100
100
|
rdoc_options: []
|
101
101
|
require_paths:
|