Introduce autorotating secrets for security

Change-Id: I25a4c44841e13ee1d151c87cdaaeedc5ab704765
diff --git a/t/base.t b/t/base.t
new file mode 100644
index 0000000..f7f2e53
--- /dev/null
+++ b/t/base.t
@@ -0,0 +1,17 @@
+use Mojo::Base -strict;
+use Test::More;
+use Test::Mojo;
+use Mojo::JSON qw'decode_json';
+
+my $t = Test::Mojo->new('Kalamar');
+
+ok(my $file = $t->app->home->rel_file('kalamar.secret.json'));
+ok(-e $file, 'File exists');
+
+my $secrets = decode_json($file->slurp);
+ok(@$secrets >= 1);
+ok(length $secrets->[0] >= 5);
+
+ok($file->lstat->mode & 0600);
+
+done_testing;