1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/tests/requests/kms/helper.rb
Josh Lane f402dce5aa kms service
* list, describe, and create keys
2015-05-12 13:50:55 -07:00

27 lines
658 B
Ruby

class AWS
module KMS
module Formats
BASIC = {
'ResponseMetadata' => { 'RequestId' => String }
}
DESCRIBE_KEY = {
"KeyMetadata" => {
"KeyUsage" => String,
"AWSAccountId" => String,
"KeyId" => String,
"Description" => Fog::Nullable::String,
"CreationDate" => Time,
"Arn" => String,
"Enabled" => Fog::Boolean
}
}
LIST_KEYS = {
"Keys" => [{ "KeyId" => String, "KeyArn" => String }],
"Truncated" => Fog::Boolean,
"Marker" => Fog::Nullable::String
}
end
end
end