mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
f402dce5aa
* list, describe, and create keys
27 lines
658 B
Ruby
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
|