FirstApp
├── appobj
│ ├── ...
│ ├── ...
│ └── ...
.
.
.
├── jwtkeys
│ ├── ecdsa256
│ │ ├── ecdsa.priv.pem
│ │ └── ecdsa.pub.pem
│ ├── ecdsa384
│ │ ├── ecdsa384.prive.pem
│ │ └── ecdsa384.pub.pem
│ ├── ecdsa521
│ │ ├── ecdsa521.priv.pem
│ │ └── ecdsa521.pub.pem
│ ├── rsa256
│ │ ├── rsa.priv.pem
│ │ └── rsa.pub.pem
│ ├── rsa384
│ │ ├── rsa384.prive.pem
│ │ └── rsa384.pub.pem
│ └── rsa512
│ ├── rsa512.priv.pem
│ └── rsa512.pub.pem
.
.
.
├── .dev.config.json
├── .prd.config.json
├── main_test.go
└── main.go
The jwtkeys folder contains the public and private keys that are generated in order to support the use of JWT tokens. Jiffy generates public/private keys for all supported JWT signing algorithms. It would probably be okay to place the keys into a common location, as they are only read once by each application instance during its initialization. JWT’s and key usage are discussed in greater detail in the ‘Authorizations & End-Point Security’ section of this documentation.