# store a key with a content-type and some optional metadata my $keyname = 'testing.txt'; my $value = 'T'; $bucket_obj->add_key( $keyname, $value, { content_type => 'text/plain', 'x-amz-meta-colour' => 'orange', } );