Commit Graph

92 Commits

Author SHA1 Message Date
Brendan Keane
180b0b902f
KMS: Add TargetKeyId to default kms key alias response. (#5805) 2023-01-11 19:43:48 -01:00
Bert Blommers
137f06b55e
KMS: Basic key policy enforcement (#5777) 2022-12-16 20:47:38 -01:00
Bert Blommers
efeb110d06
Techdebt: Replace string-format with f-strings (for k* dirs) (#5684) 2022-11-19 21:32:53 -01:00
Bert Blommers
ea8718d402
TechDebt: Move BackendDict to base_backend (#5645) 2022-11-10 08:43:20 -01:00
Bert Blommers
aa7d68a688
Feature: Ability to seed Moto, and make random ID's deterministic (#5492) 2022-09-28 09:35:12 +00:00
Giorgio Ruffa
6232ccfa57
KMS: revoke grant raises NotFound (#5410) 2022-08-24 10:48:37 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
taras-kobernyk-localstack
9d26ec7422
KMS : Adding support for multi-region keys and implementing replicate_key API. (#5288) 2022-07-27 06:30:41 -03:00
Bert Blommers
6cf37c4b4b
EBS - Defer imports until it's necessary (#5265) 2022-06-26 15:45:33 +00:00
Bert Blommers
f513d6ca88
Prep release 3.1.15 (#5262) 2022-06-25 21:39:58 +00:00
José Coelho
727bc2ba0a
Improve test coverage of KMS sign and verify (#5251) 2022-06-23 09:45:07 +00:00
José Coelho
25aad70481
Add KMS Sign/Verify (#5243) 2022-06-21 17:18:51 +00:00
Aidan Goldthorpe
0200e2aac7
Bug fix for selecting KMS key via alias ARN (#5182) 2022-06-06 10:57:28 +00:00
Bert Blommers
79a2a9d423
Preparation for MultiAccount support (#5157) 2022-06-04 11:30:16 +00:00
Bert Blommers
898f0928a4
KMS - add Grants API (#5177) 2022-05-27 22:11:09 +00:00
Thomas Rausch
e911341e6a
add indirection to access account id (#5098) 2022-05-08 22:25:40 +00:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory (#4929) 2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Bert Blommers
d118d592ca
Pylint remaining source code (#4760) 2022-01-14 18:51:49 -01:00
Bert Blommers
cf87e75d6e
Feature: Mock region (#4699) 2021-12-24 20:02:45 -01:00
Bert Blommers
f923d0d1e0
Feature: Custom cloudformation resources (#4512) 2021-11-03 20:00:42 -01:00
Macwan Nevil
5771dcf73b
fixed default kms keys;fixed object locking exception (#4385) 2021-10-26 09:57:58 +00:00
Bert Blommers
9a55ed717f
KMS - Validate plaintext-parameter for length (#4441) 2021-10-19 16:50:12 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
kbalk
3a203d35c9
Implement EC2 describe_vpc_endpoint_services() (#4322) 2021-09-24 16:01:09 +00:00
Bert Blommers
65dd0f1660
KMS - duplicate boto tests (#3916) 2021-09-22 20:37:03 +00:00
stromp
097a260dce
Fixes issue #4312 (#4323) 2021-09-22 16:35:50 +00:00
Bert Blommers
c0853aa99d
KMS - CreateKey without desc should return empty desc (#4305) 2021-09-18 21:12:18 +00:00
kbalk
17e9a37c81
Add validation of tags to TaggingService (#4253)
Co-authored-by: Karri Balk <kbalk@users.noreply.github.com>
2021-09-01 07:07:01 +01:00
Bert Blommers
07bb843214
Fix regex URLs so that a dot is actually interpreted as a dot (#4110) 2021-08-28 13:42:45 +01:00
Waldemar Hummer
35d0ddef24
Add support for KMS update-alias (#4143) 2021-08-07 08:07:40 +01:00
Anton Grübel
788b8e617d
Update ecr (#4128)
* Add ecr.list_tags_for_resource

* Add ecr.tag_resource

* Add ecr.untag_resource

* Add default KMS key policy, if not specified
2021-08-03 16:21:15 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Bert Blommers
db1d7123f6 List dependencies for services - add integration test to verify 2020-09-13 16:08:23 +01:00
Adam Richie-Halford
9a9a1d8413
Decentralize cloudformation naming responsibilities (#3201)
* #3127 - Decentralize CF naming responsibilities

* Decentralize CloudFormation naming responsibilities

* Update URLs in cloudformation_resource_type functions

* Fix flake8 errors

* Black formatting

* Add a bunch of imports to populate CloudFormationModel.__subclasses__

* Add noqa to s3 models import statement in cloudformation/parsing.py

* Black formatting

* Remove debugging print statement

Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-08-01 15:23:36 +01:00
Brady
1221d2653a fix test cases, bug when no tags are present and conflict 2020-02-21 15:21:41 -05:00
Bryan Alexander
1432e82606 fixes kms/models create_key parameters 2020-02-18 14:01:15 -06:00
Bryan Alexander
d1efedec29 updates kms to use tagging service and support untag_resource 2020-02-18 13:40:34 -06:00
Bryan Alexander
445f474534 merging from master 2020-02-18 10:47:05 -06:00
gruebel
4833419499 Fix CreationDate handling 2020-02-07 15:38:37 +01:00
gruebel
5d05044491 Add CustomerMasterKeySpec parameter handling 2020-02-06 17:57:00 +01:00
gruebel
40bd4f1603 Fix kms.create_key default output 2020-01-31 17:16:42 +01:00
Bryan Alexander
85207b885b updates KMS service to use TaggingService 2020-01-16 12:10:38 -06:00
gruebel
9d9b620878 Fixed linter errors 2019-12-26 21:03:49 +01:00
gruebel
d7ba355a65 Add missing regions to all services 2019-12-26 17:12:22 +01:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
mattsb42-aws
4f34af95bc remove dead code
because the key ID validation is now centralized,
by the time this code would have been reached,
we know that the key ID exists,
so a KeyError will never be thrown
2019-09-13 13:35:55 -07:00
mattsb42-aws
a2c2a83198 fix linting issues 2019-09-12 18:04:18 -07:00
mattsb42-aws
f4c5dfbdfb reorganize and centralize key ID validation 2019-09-12 17:42:40 -07:00