Skip to content

Commit

Permalink
fix params for create_key in tests so that public_key/signing mocks w…
Browse files Browse the repository at this point in the history
…ill match
  • Loading branch information
geemus committed Dec 10, 2024
1 parent 76999f9 commit d8820e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/requests/kms/key_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

tests('success') do
tests('#create_key').data_matches_schema(AWS::KMS::Formats::DESCRIBE_KEY) do
result = Fog::AWS[:kms].create_key.body
result = Fog::AWS[:kms].create_key(
'KeySpec' => 'RSA_2048',
'KeyUsage' => 'SIGN_VERIFY'
).body
key_id = result['KeyMetadata']['KeyId']

result
Expand Down

0 comments on commit d8820e1

Please sign in to comment.