Add secure identity/credential API key.
Add key identity. Add tests.
Merge branch 'secure_key' into develop