lib/awskeyring/validate.rb in awskeyring-1.10.1 vs lib/awskeyring/validate.rb in awskeyring-1.11.0

- old
+ new

@@ -18,10 +18,10 @@ # Validate an AWS Access Key ID # # @param [String] aws_access_key The aws_access_key_id def self.access_key(aws_access_key) - raise 'Invalid Access Key' unless /\AAKIA[A-Z0-9]{12,16}\z/.match?(aws_access_key) + raise 'Invalid Access Key' unless /\AAKIA[A-Z234567]{16}\z/.match?(aws_access_key) aws_access_key end # Validate an AWS Secret Key ID